The input stream is not a valid binary format
Today, I have met a problem about remoting,
exception info like this:
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 ...
I have searched the internet about this exception, finally, I have found that I have not configured
the <service> in the remoting host config file.
So when u occur this problem, first check whether or not you have configured the svc in the remoting host
like this:
<wellknown type="xxxx.Customs.VES.Service.VehicleEntrySI, xxxx.Customs.VES.Service" objectUri="xxxx.ServiceContract.IVehicleEntry.xxx" mode="SingleCall" />
If configured alreay, please check the IIS asp.net setting to ASP.NET 2.0.
Then google yourself.
exception info like this:
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 ...
I have searched the internet about this exception, finally, I have found that I have not configured
the <service> in the remoting host config file.
So when u occur this problem, first check whether or not you have configured the svc in the remoting host
like this:
<wellknown type="xxxx.Customs.VES.Service.VehicleEntrySI, xxxx.Customs.VES.Service" objectUri="xxxx.ServiceContract.IVehicleEntry.xxx" mode="SingleCall" />
If configured alreay, please check the IIS asp.net setting to ASP.NET 2.0.
Then google yourself.