我在Windows项目中工作(很长一段时间是由Visual Studio 2003通过.NET 1.03 **完成的)。当我尝试运行某些表单时,我收到一个奇怪的错误:
mscorlib.dll中出现未处理的“System.Reflection.TargetInvocationException”类型异常 附加信息:调用目标抛出了异常。
内在的例外是:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. --> Value was either too large or too small for a UInt16.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Sabre.SabreRTS.UI.Forms.OrganizationService.OrganizationService.GetWorkCentre() in F:\tEndDEVNEW\UI\Forms\Web References\OrganizationService\Reference.cs:line 928
at Sabre.SabreRTS.UI.Forms.ShiftException.PopulateWorkCentrecombo() in f:\****\ui\forms\shiftexception.cs:line 933
at Sabre.SabreRTS.UI.Forms.ShiftException..ctor() in f:\****\ui\forms\shiftexception.cs:line 148
--- End of inner exception stack trace ---
这主要发生在变量启动时(此代码多次发送到生产中而没有此问题)。
有解决方案吗?
(这是由框架本身的损坏引起的吗?此外,我的电脑拥有最新版本的所有框架。)