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 form not working

Login form not working

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netdatabasevisual-studio
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.
  • G Offline
    G Offline
    Gjm
    wrote on last edited by
    #1

    I have my ASP.NET application working fine under Visual Studio's integrated web server. Also I have set up IIS with my files and can access my application via browser But My problem is there is a login form which is not working in IIS but the same login form is working in Visual Studio. The username and password are not stored in database. I used Form authentication. My web.config part is shown below allow roles="Administrators" deny users="*" I have everything working fine except the login form in IIS. Login form is perfectly working under Visual Studio. Plz help me

    S N 2 Replies Last reply
    0
    • G Gjm

      I have my ASP.NET application working fine under Visual Studio's integrated web server. Also I have set up IIS with my files and can access my application via browser But My problem is there is a login form which is not working in IIS but the same login form is working in Visual Studio. The username and password are not stored in database. I used Form authentication. My web.config part is shown below allow roles="Administrators" deny users="*" I have everything working fine except the login form in IIS. Login form is perfectly working under Visual Studio. Plz help me

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      Have you configured the IIS properly? There is an Authentication configuration present in it. You need to set that too based on your application. Further, what exactly is happening on Login page in IIS... any error? From your details it just sounds like some sort of impersonation issue. Since it's a Forms Authentication, you would be able to debug too... what does that say? Also, Have a look at these: http://msdn.microsoft.com/en-us/library/ff647070.aspx#pagexplained0002_iisauthentication[^] http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/3b69057f-39a7-4d0b-9315-ccc66a0c6676.mspx?mfr=true[^]

      1 Reply Last reply
      0
      • G Gjm

        I have my ASP.NET application working fine under Visual Studio's integrated web server. Also I have set up IIS with my files and can access my application via browser But My problem is there is a login form which is not working in IIS but the same login form is working in Visual Studio. The username and password are not stored in database. I used Form authentication. My web.config part is shown below allow roles="Administrators" deny users="*" I have everything working fine except the login form in IIS. Login form is perfectly working under Visual Studio. Plz help me

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        DO NOT CROSS POST! Remove the one that has not had any answers posted to it and read the forum guidelines.


        I know the language. I've read a book. - _Madmatt

        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