【问题标题】:Wcf Sync DataBase Application IIS looking into wrong pathWcf 同步数据库应用程序 IIS 寻找错误的路径
【发布时间】: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


    【解决方案1】:

    这是嵌入在您的应用程序中的调试信息。路径是您编译应用程序的时间。您的 wcf 服务的部署路径与此无关。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-11
      • 1970-01-01
      相关资源
      最近更新 更多