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.
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.
相关文章推荐
- The input stream is not a valid binary format
- The path "" is not valid path to the gcc binary.
- 安装 VMWare tools 时出现“The path "/usr/bin/gcc" is not valid path to the gcc binary”解决
- The input character is not valid in MATLAB statements or expressions.
- 安装vm tools--出错The path "/usr/bin/gcc" is not valid path to the gcc binary”
- Error:The method setInputPaths(JobConf, String) in the type FileInputFormat is not
- " " is not valid path to the gcc binary
- GridView Postback后出错Operation is not valid due to the current state of the object.
- The specified executable is not a validapplication for this OS platform.
- [转]error - Operation is not valid due to the current state of the object.
- 404 error on preview ... "buffer_id(29) is not valid (closed or unsupported file format)"
- 404 error on preview ... "buffer_id(29) is not valid (closed or unsupported file format)"
- “The run destination iOS Device is not valid for running the scheme”
- The run destination iPhone 5.0 Simulator is not valid for running the scheme 'MyApp'
- 解决vmware fusion + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel headers.
- 错误提示:transform.position assign attempt for 'XXX' is notvalid。Input rotation is {NaN, NaN, NaN, NaN}
- 解决Firefox [ The URL is not valid and cannot be loaded ] 问题
- VMWARE TOOLS安装提示THE PATH IS NOT A VALID PATH TO THE GENERIC KERNEL HEADERS
- JNI WARNING: input is not valid Modified UTF-8: illegal start byte 0xfe
- Operation is not valid due to the current state of the object.