473,804 Members | 3,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Filling C:\Windows\Temp !

We have a web service that gets quite a few hits. We are noticing
that C:\Windows\Temp is filling up with temporary DLLs that never get
cleaned up. They certainly appear to be related to the web service. I
need to know either 1) how to prevent all the DLLs from being created,
or 2) how to get .Net to clean up after itself (i.e. delete the DLLs
after using them). I think I understand why the DLLs are being
created
(http://groups.google.com/group/micro...95c00ff9849c6),
but I have no idea how to solve the problem. We have, on occasion,
found over a million files in that folder! Any thoughts on how I can
prevent this?

Thanks!
Brad.
Nov 1 '07 #1
3 1633
Yes, web services do use C:\Windows\Temp

I think it's because of it uses the environment variable. See:
http://forums.asp.net/p/997058/1306776.aspx

You certainly could just write scheduled task to clear the directory every
now and then.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Bradley Plett" <pl****@newsgro up.nospamwrote in message
news:ij******** *************** *********@4ax.c om...
We have a web service that gets quite a few hits. We are noticing
that C:\Windows\Temp is filling up with temporary DLLs that never get
cleaned up. They certainly appear to be related to the web service. I
need to know either 1) how to prevent all the DLLs from being created,
or 2) how to get .Net to clean up after itself (i.e. delete the DLLs
after using them). I think I understand why the DLLs are being
created
(http://groups.google.com/group/micro...95c00ff9849c6),
but I have no idea how to solve the problem. We have, on occasion,
found over a million files in that folder! Any thoughts on how I can
prevent this?

Thanks!
Brad.

Nov 1 '07 #2
P.S. Apparently I'm not the only one having this problem
(http://groups.google.com/group/micro...bea81e7b74a61),
but my searching has not yet produced a solution.

Brad.

On Thu, 01 Nov 2007 10:54:31 -0600, Bradley Plett
<pl****@newsgro up.nospamwrote:
>We have a web service that gets quite a few hits. We are noticing
that C:\Windows\Temp is filling up with temporary DLLs that never get
cleaned up. They certainly appear to be related to the web service. I
need to know either 1) how to prevent all the DLLs from being created,
or 2) how to get .Net to clean up after itself (i.e. delete the DLLs
after using them). I think I understand why the DLLs are being
created
(http://groups.google.com/group/micro...95c00ff9849c6),
but I have no idea how to solve the problem. We have, on occasion,
found over a million files in that folder! Any thoughts on how I can
prevent this?

Thanks!
Brad.
Nov 1 '07 #3
I think I've figured out where these are coming from. We are doing an
XSLT transformation in our web service. Our XSLT has some .Net script
in it. I believe each time the XSLT is loaded, it gets recompiled
into C:\Windows\Temp . Though this post may be premature, at least
this makes sense to me and it's something I can almost certainly fix.

Brad.

On Thu, 01 Nov 2007 10:54:31 -0600, Bradley Plett
<pl****@newsgro up.nospamwrote:
>We have a web service that gets quite a few hits. We are noticing
that C:\Windows\Temp is filling up with temporary DLLs that never get
cleaned up. They certainly appear to be related to the web service. I
need to know either 1) how to prevent all the DLLs from being created,
or 2) how to get .Net to clean up after itself (i.e. delete the DLLs
after using them). I think I understand why the DLLs are being
created
(http://groups.google.com/group/micro...95c00ff9849c6),
but I have no idea how to solve the problem. We have, on occasion,
found over a million files in that folder! Any thoughts on how I can
prevent this?

Thanks!
Brad.
Nov 1 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1796
by: hennakapoor | last post by:
How do the form filling software determine which text field gets what data i.e. a typical form filling software will ask the user to enter the username / address / password etc. Whenever it goes to a website (ANY website) that requires these data - it tries to supply the relevant data to the most appropriate text field. How does it decide that? If there is any place more relevant than this newsgroup to get more info about this - please...
1
2103
by: jobi.joy | last post by:
I have a requirement of having the capability of offline form filling for my website.So users can some way download the form and can fill out in offline mode. Any standard way to do this. I am not interested to write a webservices or complex Smart client for this. Any simple way like manipulating it in HTML applications(HTA). Any thoughts on it? Regards
2
2380
by: ramesh | last post by:
hi, I am using Com+ in my application. It will have InsertRecords,selectRecords,updateRecords function. In the Web Form i have Drop-down list. I want to select records from SQL and add it to this list. I know how to fill the data in the drop-down list. But i don't know how to pass this control to Com+. Do we need to pass like private FillList(Object e) {
3
3950
by: Omar Llanos | last post by:
I have Form1 and Form2 (which is inherited from Form1), and I created a button in Form2 that will fill up a textbox in Form1. What code would do that? I tried the simplest way: //from child form in button2 clicked event: textbox1.Text = "Hello";
1
2210
by: Krzysztof Karnicki | last post by:
I have such a problem… I have create my custom DataGridColumn inheriting from System.Windows.Forms.DataGridColumnStyle on using it on DataGrid, to show rows painted by me self. Because dates taken from database are very large, and filling DataSet bounded to this DataGrid takes some time, a decided to put fill logic into new thread. And so method running in this thread clears only this DataSet bounded to DataGrid and fills it once more...
3
2006
by: crjunk | last post by:
I have a 3 table in my DataSet that I'm filling with data. After I've filled these 3 tables, I'm then trying to run a query that will fill a 4th table in the DataSet with data from the three tables that are already pouplated. When my code tries to fill the 4th table, ReportData, I receive the following error message: Invalid object name 'tmpPROJECTINFO'. Invalid object name 'tmpContacts'. Invalid object name 'tmpRECEIVEREC'. Can...
18
5155
by: Joe Lester | last post by:
This thread was renamed. It used to be: "shared_buffers Question". The old thread kind of died out. I'm hoping to get some more direction by rephrasing the problem, along with some extra observations I've recently made. The core of the problem is that Postgres is filling up my hard drive with swap files at the rate of around 3 to 7 GB per week (that's Gigabytes not Megabytes) . At this rate it takes roughly two months to fill up my 40...
1
5141
by: mike11d11 | last post by:
I'm doing a simple TableAdapter.Fill filling my datatable from a view within a SQL database. for some reason it is timing out after 30 seconds and I cant seem to find out where in vb.net 2005 I can go to change the timeout setting for this. when i go to my project, then my settings tab i set the connection timeout for 120, but it doesn't seem to affect the timeout for filling my datatable. Code used to fill datatable:...
2
1805
by: GarthRodgers | last post by:
Hey all I'm designing an online exam booking system in Access and need to find a way to import table data into Roboform (or some other form filling package) straight from the database. The only two options I can think of are exporting the table as an XML or as a data access page, and taking it from there, but being new to access I'm not entirely sure how these formats work. So, is there any way that data stored within my access database...
12
4353
by: ab12 | last post by:
I'm trying to write a program in C that gets a shape outlined with asterisks from the user, and returns that shape filled with asterisks. It will also get the coordinates of a point inside the shape from which to start filling. I need to use recursion here. for example, to be clear: input: (ignore the line, think of that as blank space) ***** *___* ***** coordinates are (2,1) /*its an array so numbering will start from 0*/ output...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10326
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.