K
kristof.bonnast
Hi all,
I'm have a console app which is called by a thirth party system over
20000 times a day. This console app links to a webservice on another
server to capture information. This works fine for several weeks, but
after some time I receive following error:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0016: Could not write to output file 'h:\temp\uwzshxmr.dll' --
'Could not execute CVTRES.EXE.'
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
ns, CompilerParameters parameters, Evidence evidence)
at
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, String location,
Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
I checked several things and nothing changed on the server setup and
there is no disk space issue. When I reboot the machine, it works again
for several weeks/months, but then again the same problem. The only fix
I currently have is rebooting the server when the error occurs. When I
have an error on the server that calls the webservice, all other
applications from other servers calling the same webservice, continue
to work, so the problem seems not related to the webservice as such.
Is this a problem with to much open files/tempfiles/open handles or
something related ?
Anyone any idea how I can pro-active solve this issue ?
Thx in advance,
Kristof
I'm have a console app which is called by a thirth party system over
20000 times a day. This console app links to a webservice on another
server to capture information. This works fine for several weeks, but
after some time I receive following error:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0016: Could not write to output file 'h:\temp\uwzshxmr.dll' --
'Could not execute CVTRES.EXE.'
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
ns, CompilerParameters parameters, Evidence evidence)
at
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, String location,
Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
I checked several things and nothing changed on the server setup and
there is no disk space issue. When I reboot the machine, it works again
for several weeks/months, but then again the same problem. The only fix
I currently have is rebooting the server when the error occurs. When I
have an error on the server that calls the webservice, all other
applications from other servers calling the same webservice, continue
to work, so the problem seems not related to the webservice as such.
Is this a problem with to much open files/tempfiles/open handles or
something related ?
Anyone any idea how I can pro-active solve this issue ?
Thx in advance,
Kristof