The input stream is not a valid binary format.

The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-52-75-6E-74-69-6D-65-2E-52-65 ...

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-52-75-6E-74-69-6D-65-2E-52-65 ...

在网站中,访问.net remoting。

.net remoting的url配置在了单独的配置文件中,不在web.conifg中。

单独的配置文件里面的url是错误的,所以会出现这个错误

原文地址:https://www.cnblogs.com/chucklu/p/9472988.html