Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. login using IE Fails

login using IE Fails

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasevisual-studiosysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    y_mmohd
    wrote on last edited by
    #1

    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:

    B 1 Reply Last reply
    0
    • Y y_mmohd

      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:

      B Offline
      B Offline
      BillyGoatGruff
      wrote on last edited by
      #2

      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.

      L 1 Reply Last reply
      0
      • B BillyGoatGruff

        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.

        L Offline
        L Offline
        Luiza Vacarescu
        wrote on last edited by
        #3

        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. :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups