0
나는 윈도우 10 v1607 나를 위해 잘 작동하지만 윈도우 10 v1703에서 동일한 웹 서비스를하려고 할 때, 그것은 나에게이 오류 제공에 웹 서비스 호출 오전
:요청이 HTTP 상태 401 : Unauthorized로 실패했습니다.
The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +237136
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +267
CPR.Apps.CPMS.ServiceWrapper.CPMSProxy.CPMSService.GetUserGroupTasks(User& user) +138
CPR.Apps.CPMS.ServiceWrapper.WebAppServiceWrapper.GetUserGroupTasks(User& cpmsUser) +111
CCPS.App.Web.UI.Global.Session_Start(Object sender, EventArgs e) +145
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +380
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1250
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +631
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134
작동하는지주의를 익명으로 웹 서비스 인증을 설정했지만 보안 측면에서는 허용되지 않습니다. 현재 보안 설정은 asp.net 인격 및 Windows 인증입니다.
또한 webService.UseDefaultCredentials = true
입니다.
누구에게 의견이 있습니까? >Servers
- - 비주얼 스튜디오 솔루션은 웹 앱 속성 Web
에 대한 한 -