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. The request failed with HTTP status 401: Unauthorized.

The request failed with HTTP status 401: Unauthorized.

Scheduled Pinned Locked Moved ASP.NET
securitywindows-adminhelpquestionlearning
1 Posts 1 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.
  • C Offline
    C Offline
    Calla
    wrote on last edited by
    #1

    I'm having trouble with a website when it comes to the authorization. I have one site, called GUI, using a webservice, called WS that requires the user to log on using windows autentication. In the IIS I have set the Directory Security to Integrated windows security (for both the GUI and the WS sites). In my web.config files (for the GUI and the WS) I have the following lines:

    <authentication mode="Windows"/>
    <identity impersonate="true"/> 
    

    When I enter the URL in IE I get prompted for User name and Password, and I'm sure I enter the correct ones but I still get the The request failed with HTTP status 401: Unauthorized. message. I am running the same web sites on another machine where I use the Enable anonumous access in the IIS and this (of course) works fine. Does anyone have any idea of what might be the issue here?

    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