Silverlight+IIS7.5+WCF Unhandled Error in Silverlight Application Load operation failed for query
2011-12-09 10:19
323 查看
在VS上调试没什么问题,部署到IIS7.5上就出现以下异常。
用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
时间戳: Fri, 9 Dec 2011 02:16:37 UTC
消息: Unhandled Error in Silverlight Application Load operation failed for query 'GetServiceRequestLog'. 远程服务器返回了错误: NotFound。 位于 System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
位于 System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
位于 System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
位于 System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )
行: 1
字符: 1
代码: 0
URI: http://localhost/SIPAdminPortal/Business/ServiceLogManager/LogReport/AppClientBiz.aspx
出现以上问题的原因是需要设置网站的身份验证,如下图
只启用匿名身份验证就没问题了。
用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
时间戳: Fri, 9 Dec 2011 02:16:37 UTC
消息: Unhandled Error in Silverlight Application Load operation failed for query 'GetServiceRequestLog'. 远程服务器返回了错误: NotFound。 位于 System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
位于 System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
位于 System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
位于 System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )
行: 1
字符: 1
代码: 0
URI: http://localhost/SIPAdminPortal/Business/ServiceLogManager/LogReport/AppClientBiz.aspx
出现以上问题的原因是需要设置网站的身份验证,如下图
只启用匿名身份验证就没问题了。
相关文章推荐
- 【安装部署】Unhandled Error in Silverlight 2 Application Load operation failed for query 'Login'.
- Silverlight下跨域访问WCF,解决错误: Unhandled Error in Silverlight Application 操作过程中出现异常,结果无效。异常 (转)
- Silverlight学习笔记[1] - unhandled error in silverlight application 未将对象引用设置
- Error 2103 “Unhandled Error in Silverlight Application“ 解决办法
- Unhandled Error in Silverlight Application “Syncfusion.Silverlight.Olap.Gauge.OlapGauge”的类型初始值设定项引发异常
- domainservices.client.domainoperationexception:load operation failed for query错误的原因
- Unhandled Error in Silverlight Application, code 2103 when changing the namespace
- Unhandled Error in Silverlight Application, code 2103 when changing the namespace
- Android Application Error:Failed to load properties file for project ""
- Unhandled Error in Silverlight Application
- Error: package or namespace load failed for ‘utils’ in dyn.load(file, DLLpath = DLLpath, ...): unab
- Message: Unhandled Error in Silverlight Application
- silverlight3程序部署在IIS7.5 出现 Error:Unhandled Error in Silverlight Application 远程服务器返回了错误: NotFound
- This application failed start because it could not find or load the Qt platform plugin "windows in"
- CodeSign error: code signing is required for product type 'Application' in SDK 'i
- This application failed to start because it could not find or load the Qt platform plugin "xcb" in "
- Error: Could not allocate storage for the buffer. Error: Driver load failed.
- Error : .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: 无法载入共享目标对象‘D:/Program Files/R/R-3.2.2/library/rJava/libs/x64/rJava.dll
- The call to LoadLibrary(YourExtensionName) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
- MySQL创建用户错误ERROR 1396 (HY000): Operation CREATE USER failed for 'XXXX'@'XXXX'