ASMX Web服务使用基本身份验证响应401未授权状态

时间:2013-07-18 17:32:14

标签: asp.net .net asmx

我有一个带有基本身份验证的ASMX文件上传webservice,从我的本地系统调用时工作正常。但是当它从另一台服务器调用时,我得到401未经授权的错误。

查看了IIS日志文件,我看到了两个回复。

Status   SubStatus   win32-status
- 401       2         1326
- 401       1         1326

第一个请求我想检查服务器是否允许基本身份验证。

打开IIS失败的请求日志无法弄清楚。用户名和密码相同。以下是详细信息

[ModuleName     IIS Web Core 
Notification   2 
HttpStatus     401 
HttpReason     Unauthorized 
HttpSubStatus  2 
ErrorCode      2147942405 
ConfigExceptionInfo
Notification   AUTHENTICATE_REQUEST
ErrorCode      Access is denied. (0x80070005)]


[ErrorCode      2147943726 
ErrorCode      Logon failure: unknown user name or bad password. (0x8007052e)]


[ModuleName       BasicAuthenticationModule 
 Notification     2 
 HttpStatus       401 
 HttpReason       Unauthorized 
 HttpSubStatus    1 
 ErrorCode        2147943726 
 ConfigExceptionInfo
 Notification     AUTHENTICATE_REQUEST
 ErrorCode        Logon failure: unknown user name or bad password. (0x8007052e)]

0 个答案:

没有答案
相关问题