求助:client 连接webservice的系统基类异常问题
我的webservice客户端,时常出现连接异常,查log发现
是系统生成的代理类new出错了 MyBase.New()
希望高手,或者知情人士给以指点如何避免下面的异常。
异常信息如下:
System.Runtime.InteropServices.ExternalException: プログラムの実行待機中にタイムアウトしました。実行されていたコマンドは "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /noconfig @"C:\DOCUME~1\Review\LOCALS~1\Temp\02ty3ymu.cmdline" です。
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
at System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters options, String[] fileNames)
at System.CodeDom.Compiler.CodeCompiler.FromSourceBatch(CompilerParameters options, String[] sources)
at System.CodeDom.Compiler.CodeCompiler.FromSource(CompilerParameters options, String source)
at System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, String source)
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at CINEMA.Common.WebRefService.WebService..ctor(Boolean bEcSetment) in E:\CINEMA\Common\SysCommon\Web References\WebRefService\Reference.vb:line 37
备注:
E:\CINEMA\Common\SysCommon\Web References\WebRefService\Reference.vb:line 37
是“MyBase.New()”