Could not find file 'c: \ windows \ Temp \ xxxxxx.dll'

We have an ASP.NET web service (net 2.0 / 3.5) that gives a message in a couple of weeks

" System.Web.Services.Protocols.SoapException: the server could not process the request. ---> System.IO.FileNotFoundException: could not find the file 'c: \ windows \ Temp \ xxxxxx.dll '"

where the xxxxxx.dll file name is a random string that changes every time a problem occurs.

As soon as an error occurs, even the iisreset command does not fix the problem. Rebooting the server fixes the problem within a few weeks. But then it happens again.

I have seen many links where temporary file storage is a problem as a result of the dynamic compilation of XmlSerializer. Our web service code consumes a Java web service, except that there is no explicit use of the XmlSerializer class.

Any ideas / tips?

Thanks in advance!

+5
source share
2 answers

This blog post definitely resolved the problem we encountered ( This will describe the problem we encountered ). - http://devatheart.azurewebsites.net/2011/04/18/troubleshooting-xmlserializer-failure/

We had this piece of code

System.Diagnostics.Process.Start(RetrievedURL);

which generated IE processes (since IE was the default browser on the web server) in the background on the button click page and open the web page.

, , IE .

Serialization XML, . Slobodan Stipic, a.k.a. Slobo.

, .

+2

, .

+1

All Articles