« Previous Next »

Thread: Could not find file "C:\WINDOWS\TEMP

Last post 01-12-2009 12:06 AM by Leo Tang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 01-05-2009, 10:38 AM

    • KiranSuthar
    • Not Ranked
    • Joined on 02-27-2006, 9:53 AM
    • Ahmedabad, India
    • Posts 2

    Could not find file "C:\WINDOWS\TEMP

    Hello,

           Since last few weeks, I am getting a strange error called
    "Could not find file "C:\WINDOWS\TEMP\xxx.dll "

    The file name xxx.dll gets changed on each refresh of the page.

    This error comes when I open any page of the application.

    Let me explain in details. We have application server (IIS 6.0) which has number of ASP.NET applications. some of them are in .NET 1.1 and others are in .NET 2.0 we have few application in ASP.NET 3.5 also.

    The said error comes for the application which are using ASP.NET 1.1.

    To solve the error, I need to kill w3wp.exe which is consuming highest memory. All the time WebSiteX (ASP.NET 2.0) consumes highest memory and still it is working proprely but other sites. (WebSiteY, WebSiteZ,,, ) (ASP.NET 1.1) gets down.  When I kill w3wp.exe of WebSiteX, all the application starts working fine. WebSiteX also works fine.

    This happens almost one or two times each day. I can't understand the reason of the error. can anyone help me in this ?

    Any help will be appreciated.

    Thanks,

    Kiran Suthar

     

     

    Thanks & Regards,
    Kiran Suthar
  • 01-06-2009, 6:31 AM In reply to

    Re: Could not find file "C:\WINDOWS\TEMP

    Hello,

    You should chek your server for viruses - Free Antivirus software and tools.

    Regards

  • 01-06-2009, 12:25 PM In reply to

    • KiranSuthar
    • Not Ranked
    • Joined on 02-27-2006, 9:53 AM
    • Ahmedabad, India
    • Posts 2

    Re: Could not find file "C:\WINDOWS\TEMP

    Hello,
    Thanks for the reply.
    We do have installed good anti virus software on the server and I think its very difficult that it is effected with virus because if it is a case then such error should come for all the sites. Still, can you tell which type of virus it can be ?
    Have you seen such error ?
    Thanks & Regards,
    Kiran Suthar
  • 01-12-2009, 12:06 AM In reply to

    Re: Could not find file "C:\WINDOWS\TEMP

    Hi,

    The temp files are not virus related. These temp files  are generated by the web service’s xml serialization. In oder to know why the temp xxx.dll file writing failed, you should check event viewer. Generally you will see some specific events after you reproduced the issue. There should be some detailed information  in the event content that can help us address the root cause.

    Since sites will work properly after killing w3wp.exe which is consuming the most memory, I’ d suggest enabling the Memory Recycling feature of your website’s application pool. This should help you temporarily work around the problem.

    On the Recycling tab of your application pool's properties dialog box, you can specify the value of the Maximum virtual memory and Maximum used memory(“Physical memory is commonly used for ASP.NET applications because of the way the common language runtime's garbage collector works, Virtual memory is commonly used for classic native applications that fragment the heap”). If the worker process exceeds this Maximum value, a new process is created to replace it, and all current requests are reassigned to the new process.

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)
Microsoft Communities