WCF服务错误500 0 121

时间:2014-10-07 14:53:01

标签: c# wcf iis

我有一个客户端WCF服务(myservice.svc),它在我的本地计算机上托管(IIS 7.5),它在本地工作正常。我也能够成功地从远程机器上浏览这项服务。

我有另一个处理程序应用程序,即远程服务器中托管的Order.ashx。此处理程序配置为使用WCF端点配置命中上述服务。

配置: -

bindingConfiguration="WSHttpBinding_ITwoWayAsync" contract="MYContract" name="WSHttpBinding_ITwoWayAsync">

现在,上面的处理程序将由第三方服务调用,因此它会在同一个远程服务器的特定文件夹中生成一些“xxxx.xml”(500 kb)文件。

问题: -

现在我的服务(即myservice.svc - 在本地机器中)主要任务是从上面的文件夹中选择'xxxx.xml'文件并将其传递给我本地机器上的BizTalk应用程序。

我还给了'所有人的所有权限&系统'到远程机器中的该文件夹。

所以,在这个过程中遇到'500 0 121 1356707'错误(C:\ inetpub \ logs \ LogFiles \ W3SVC1)。

IIS Log:-
------------
Software: Microsoft Internet Information Services 7.5
Version: 1.0
Date: 2014-10-07 13:28:41
Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2014-10-07 13:28:41 111.xx.xxx.xx POST /local/myservice.svc - 80 - xx.xx.xx.xx (remote server IP) - 500 0 121 1356707
Software: Microsoft Internet Information Services 7.5

另外,我遇​​到了处理程序应用程序的超时问题: - 即使超时值增加到1小时也会出现相同的错误。

The request channel timed out while waiting for a reply after 00:09:59.2968750.
Increase the timeout value passed to the call to Request or increase the SendTimeout
value on the Binding. The time allotted to this operation may have been a portion
of a longer timeout., System.TimeoutException: The HTTP request to xxx.

先谢谢。

0 个答案:

没有答案