您的位置:首页 > 其它

The input stream is not a valid binary format

2007-11-13 21:24 901 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐