【发布时间】:2011-12-01 16:40:03
【问题描述】:
我只在我的电脑上遇到这个问题。我正在使用 IIS Express 7.5 在我的本地端口上托管 WCF 服务。我在不同的电脑上试过,效果很好。
错误:
[CrossDomainError] 参数: https//localhost:44300/ClientSyncService.svc 调试资源字符串不可用。通常,关键和论据提供 足够的信息来诊断问题。看 http//go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.ServiceModel.dll&Key=CrossDomainError 在 System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult 结果)在 System.ServiceModel.Channels.ServiceChannel.EndCall(字符串动作, Object[] 输出,IAsyncResult 结果)在 System.ServiceModel.ClientBase
1.ChannelBase1.EndInvoke(字符串 methodName, Object[] args, IAsyncResult 结果)。
我在https://localhost:44300/clientaccesspolicy.xml 的根中有clientaccesspolicy.xml
我不知道我的电脑出了什么问题。
感谢任何帮助
【问题讨论】:
-
如果应用程序不是 SSL,我可以访问服务。如果应用程序是安全的,我仍然会收到安全异常。使用 Secured/SSL 应用程序,它甚至没有调用 clientaccesspolicy.xml,它会引发安全异常。我猜这可能与防火墙或端口有关?
标签: silverlight-4.0 iis-7.5 firewall iis-express windows-firewall