【发布时间】:2012-08-22 08:40:06
【问题描述】:
我目前正在将 Wcf 与 Sync 应用程序一起使用。
我已将应用程序部署在 C:/Inetpub/wwwroot/DbSyncWcfService 我从路径 D:\MySyncService\MySyncServiceProject\MySyncService\MySyncService\DBSyncWCF 部署。
我可以成功浏览应用程序。 但是当我使用 WCf 应用程序时。它给了我一个错误,如下所示。 DBSyncHandler :: initScopeInfo() :: Exception ==System.ServiceModel.FaultExcepti on`1 [System.ServiceModel.ExceptionDetail]:超时已过期。超时时间 在操作完成之前已经过去或服务器没有响应。 (F ault Detail 等于 An ExceptionDetail,可能由 IncludeExceptionDe 创建 tailInFaults=true,其值为: System.Data.SqlClient.SqlException:超时已过期。超时时间已过 在操作完成之前或服务器没有响应。 在 DBSyncWcfService.DBSyncService.InitializeScopeConfig(字符串 xmlasstring)我 n D:\MySyncService\MySyncServiceProject\MySyncService\MySyncService\DBSyncWCF\DB SyncService.svc.cs:第 92 行 在 SyncInvokeInitializeScopeConfig(Object , Object[] , Object[] )
基本上我很惊讶,因为它显示的路径来自我的物理路径。
【问题讨论】:
标签: wcf iis-7 microsoft-sync-framework data-synchronization