Problem With Window Authentication in ASP.net 2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • todashah
    New Member
    • Feb 2008
    • 26

    Problem With Window Authentication in ASP.net 2.0

    Dear Programmer,
    I have a developed simple asp.net application to learn how window
    authentication is work ? To perform window authentication i have
    make following changes.

    1) First i create virtual directory name (myvd) for my application.
    2) Next i open iis & from that i have select my virtual directory
    & from action menu i have selected properties then i have select
    Directory Security Tab & click on Edit button & then Uncheck
    anonymous access & check integrated window authentication.
    3) In web.config file i have set authentication mode is Windows.

    I have followed all the steps written on msdn site.

    Until it is fine but when i run my application then it is ask user id
    & password for authentication but if i give the user id & password
    of window operation system then it can't work & not allowed me to
    open web page so i have no idea about what is the problem ? If u
    have any idea then guide me.

    Bellow i give example which password & user id i provided for authentication.
    suppose
    Computer Name:DAS
    user id in os: ABC
    Password in os: abcdefg

    Provided Use Id:DAS\ABC
    Password:abcdef g

    Give Reply,
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Are you using the wwwroot folder? What permissions do you have on the folder you are using? Usually an aspnet/ network service account is needed...

    Comment

    • todashah
      New Member
      • Feb 2008
      • 26

      #3
      i have give
      http://localhost/myvd/Default.aspx in internet explorer to
      run this web page. Now to preformed authentication it is asked
      for user id & password if i give user id & password of window os
      then its give error & not allowed me to access page. I have given
      read,write & execute permission for this application when i create
      virtual directory...

      Comment

      Working...