进程A尝试从通过.NET远程连接的进程B访问远程对象时出现500远程异常。(同一台机器中的客户机/服务器)

时间:2015-05-15 07:17:01

标签: c# http .net-remoting remoteexception

我有一个架构产品,有两个流程。说过程A和过程B.

进程A是调用进程B提供某些特定值的主要进程。 进程B在端口xxxx上运行。 进程A调用进程B(带请求)。进程B接收请求并做出正确的响应,但该响应永远不会进入进程A.我们在“Charles Web调试”中得到500远程异常作为进程B的响应。

    <system.runtime.remoting>
      <application>
         <service>
            <wellknown type="Some name of the class".
                       mode="Singleton" 
                       objectUri="ClassName" />
         </service>
         <channels>
            <channel ref="http" port="123456" />
         </channels>
      </application>
   </system.runtime.remoting>
   <startup>
      <supportedRuntime version="v2.0.50727" />
   </startup>

我检查了所有的网络代理,但找不到任何问题。独立处理A和处理B不会出现任何错误。

0 个答案:

没有答案