Fork me on GitHub

Remoting: Server encountered an internal error

发生这个错误的原因是Remoting的一个配置项:
<customErrors> 元素  指示此应用程序域中的服务器通道是否将经筛选的或完整的异常信息返回给本地或远程调用方。

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
  
<system.runtime.remoting>  
    
<customErrors mode="off"/> 
  
</system.runtime.remoting> 
</configuration>
具体参见 http://msdn2.microsoft.com/zh-cn/library/y123fsf7(VS.80).aspx
posted @ 2007-04-20 18:45  张善友  阅读(1549)  评论(2编辑  收藏  举报