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. Can't disable Windows Authentication? [SOLVED]

Can't disable Windows Authentication? [SOLVED]

Scheduled Pinned Locked Moved ASP.NET
databasesysadminwindows-adminsecuritytools
4 Posts 2 Posters 7 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.
  • Richard Andrew x64R Offline
    Richard Andrew x64R Offline
    Richard Andrew x64
    wrote on last edited by
    #1

    Hello, We enabled Windows Authentication for our development website a few weeks ago. Now, after I disable it, the site shows only the 401 page:

    Quote:

    401 - Unauthorized: Access is denied due to invalid credentials.

    It doesn't offer a login box. It doesn't do anything no matter what URL you try to load, including the home index page, except show that 401 message. I disabled Windows Authentication on the website and on the server. What could I be missing? CLARIFICATION: I disabled Windows Authentication through the IIS Administration plug-in in Administrative Tools. I disabled it at the server level and at the website level. If this is being caused by an overlooked application setting, which would that be? SOLUTION: While I disabled Windows Authentication, I failed to re-enable Anonymous Authentication. Doh! Now it works. :)

    The difficult we do right away... ...the impossible takes slightly longer.

    R 1 Reply Last reply
    0
    • Richard Andrew x64R Richard Andrew x64

      Hello, We enabled Windows Authentication for our development website a few weeks ago. Now, after I disable it, the site shows only the 401 page:

      Quote:

      401 - Unauthorized: Access is denied due to invalid credentials.

      It doesn't offer a login box. It doesn't do anything no matter what URL you try to load, including the home index page, except show that 401 message. I disabled Windows Authentication on the website and on the server. What could I be missing? CLARIFICATION: I disabled Windows Authentication through the IIS Administration plug-in in Administrative Tools. I disabled it at the server level and at the website level. If this is being caused by an overlooked application setting, which would that be? SOLUTION: While I disabled Windows Authentication, I failed to re-enable Anonymous Authentication. Doh! Now it works. :)

      The difficult we do right away... ...the impossible takes slightly longer.

      R Online
      R Online
      Richard Deeming
      wrote on last edited by
      #2

      Did you enable some other form of authentication? If not, why would you expect to get a login box/page?


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      Richard Andrew x64R 1 Reply Last reply
      0
      • R Richard Deeming

        Did you enable some other form of authentication? If not, why would you expect to get a login box/page?


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #3

        I'm not expecting a login box, just pointing out that none appears, for completeness.

        The difficult we do right away... ...the impossible takes slightly longer.

        R 1 Reply Last reply
        0
        • Richard Andrew x64R Richard Andrew x64

          I'm not expecting a login box, just pointing out that none appears, for completeness.

          The difficult we do right away... ...the impossible takes slightly longer.

          R Online
          R Online
          Richard Deeming
          wrote on last edited by
          #4

          Then, at a guess, you're using some form of authorization restrictions. Without any enabled authentication methods, all users will be anonymous, and will only have access to resources that are explicitly marked as available to anonymous users. :)


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          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