[英]Hosting WCF Web Serveic on Windows Server 2003
得到以下錯誤...
“ /”應用程序中的服務器錯誤。 IIS指定了身份驗證方案“ IntegratedWindowsAuthentication,Anonymous”,但是綁定僅支持僅指定一種身份驗證方案。 有效的身份驗證方案為摘要,協商,NTLM,基本或匿名。 更改IIS設置,以便僅使用單個身份驗證方案。 說明:執行當前Web請求期間發生未處理的異常。 請查看堆棧跟蹤,以獲取有關錯誤及其在代碼中起源的更多信息。
異常詳細信息:System.InvalidOperationException:IIS指定了身份驗證方案“ IntegratedWindowsAuthentication,Anonymous”,但是綁定僅支持僅指定一種身份驗證方案。 有效的身份驗證方案為摘要,協商,NTLM,基本或匿名。 更改IIS設置,以便僅使用單個身份驗證方案。
源錯誤:
當前Web請求的執行期間生成了未處理的異常。 可以使用下面的異常堆棧跟蹤來標識有關異常的來源和位置的信息。
堆棧跟蹤:
[InvalidOperationException:IIS指定了身份驗證方案'IntegratedWindowsAuthentication,Anonymous',但是綁定僅支持僅指定一種身份驗證方案。 有效的身份驗證方案為摘要,協商,NTLM,基本或匿名。 更改IIS設置,以便僅使用單個身份驗證方案。] System.ServiceModel.Web.WebServiceHost.SetBindingCredentialBasedOnHostedEnvironment(ServiceEndpoint serviceEndpoint,AuthenticationSchemes supportSchemes)+446264
System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost主機,已實現IDictionary`2Contracts,字符串multipleContractsErrorMessage)+709
System.ServiceModel.Web.WebServiceHost.OnOpening()+203 Microsoft:\\ bt \\ 3781 \\ Microsoft.ServiceModel.Web \\ Microsoft.ServiceModel.Web \\ WebServiceHost2.cs:69中的Microsoft.ServiceModel.Web.WebServiceHost2.OnOpening() .ServiceModel.Channels.CommunicationObject.Open(TimeSpan超時)+229
System.ServiceModel.HostingManager.ActivateService(字符串normalizedVirtualPath)+121
System.ServiceModel.HostingManager.EnsureServiceAvailable(字符串normalizedVirtualPath)+479[ServiceActivationException:由於編譯期間發生異常,因此無法激活服務'/Service.svc'。 異常消息是:IIS指定了身份驗證方案“ IntegratedWindowsAuthentication,Anonymous”,但是綁定僅支持僅指定一種身份驗證方案。 有效的身份驗證方案為摘要,協商,NTLM,基本或匿名。 更改IIS設置,以便僅使用單個身份驗證方案。
System.ServiceModel.AsyncResult.End(IAsyncResult結果)+11599786
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult結果)+194
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication上下文,布爾flowContext)+176
System.ServiceModel.Activation.HttpModule.ProcessRequest(對象發送者,EventArgs e)+278
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+68 System.Web.HttpApplication.ExecuteStep(IExecutionStep步驟,布爾值,已完成,同步)+75版本信息:Microsoft .NET Framework版本:2.0.50727.3615; ASP.NET版本:2.0.50727.3618
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.