The request failed with HTTP status 401: Unauthorized

This is a discussion on The request failed with HTTP status 401: Unauthorized within the Inetserver forums in Microsoft Tools category; Scenario: Machine A: ASP.NET Web UI IIS 6.0 Windows Server 2003 Impersonation Account: domain\Acct1 Machine B: ASP.NET Web Service IIS 6.0 Windsow Server 2003 Impersonation Account: domain\Acct2 when Web UI calls Web Service, it fails saying "System.Web.Exception The request failed with HTTP status 401: Unauthorized." When I look at the IIS log for Web Service I see, WebService.asmx -> HTTP Code, 401 2 WebService.asmx -> HTTP Code, 401 3 WebService.asmx -> HTTP Code, 401 1 domain\Acct1 has full control over web service web site and all the files underneath it. I used filemon on WebService.asmx and found that IIS is ...

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-04-2005, 02:25 PM
Sachin
Guest
 
Default The request failed with HTTP status 401: Unauthorized

Scenario:

Machine A: ASP.NET Web UI
IIS 6.0
Windows Server 2003
Impersonation Account: domain\Acct1


Machine B: ASP.NET Web Service
IIS 6.0
Windsow Server 2003
Impersonation Account: domain\Acct2



when Web UI calls Web Service, it fails saying "System.Web.Exception The
request failed with HTTP status 401: Unauthorized."

When I look at the IIS log for Web Service I see,

WebService.asmx -> HTTP Code, 401 2
WebService.asmx -> HTTP Code, 401 3
WebService.asmx -> HTTP Code, 401 1


domain\Acct1 has full control over web service web site and all the files
underneath it.



I used filemon on WebService.asmx and found that IIS is even not tring to
read it.


Then I deployed the same Web Service on Machine C, with similar
configuration. Web UI works fine.

Could someone please help me to find out what could be wrong?

Any pointer?

Thanks in advace
Sachin


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:41 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.