login using IE Fails
-
Dear all, I new in using asp.net 2. I create a web site with authorization access to a specific folder “login.aspx” page. I do this by new technology “Asp.net Configuration tools”. I create users and enable roles. When I run the application Visual studio there is no problem at all. When I want to enter the restricted area login.asp page appear. I enter a user name and password. So I can enter. But, the problem is that when I want to access to the restricted area by using internet explorer I had the following message. And the login.asp page did not appear. “Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'” How Can I solve this problem. Thanks :mad:
-
Dear all, I new in using asp.net 2. I create a web site with authorization access to a specific folder “login.aspx” page. I do this by new technology “Asp.net Configuration tools”. I create users and enable roles. When I run the application Visual studio there is no problem at all. When I want to enter the restricted area login.asp page appear. I enter a user name and password. So I can enter. But, the problem is that when I want to access to the restricted area by using internet explorer I had the following message. And the login.asp page did not appear. “Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'” How Can I solve this problem. Thanks :mad:
I think that if you Disable "Anonymous Access" and Enable "Integrated Windows authentication"; on the IIS virtual directory, it will solve this. "NT AUTHORITY\NETWORK SERVICE" is probably the user specified for anonymous access.
-
I think that if you Disable "Anonymous Access" and Enable "Integrated Windows authentication"; on the IIS virtual directory, it will solve this. "NT AUTHORITY\NETWORK SERVICE" is probably the user specified for anonymous access.
BillyGoatGruff wrote:
I think that if you Disable "Anonymous Access" and Enable "Integrated Windows authentication"; on the IIS virtual directory, it will solve this.
I had the same problem, you are right. :)