473,624 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I safely delete Temporary ASP.NET Files?

On my development machine, I often delete all folders/files under
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files. That
has not caused me any trouble til now.

So now we have a production server and the system disk is running out of
space soon. I need to some files to make space. And I found the Temporary
ASP.NET Files folder contains hundres of megabytes of files. I want to delete
them all, but I am afraid of any unwanted results to happen to the production
server.

Please tell me if it is totally safe to delete all those files?
Nov 18 '05 #1
6 20097
Yes it is safe. However, these are the fully compiled files that your
production server uses to process the application. Each new page request
will cause these files to be re-created and each first user to the page,
will experience a short delay in receiving the page as the new temporary
file is re-created.

If you are in that much of a bind for disk space on a production server,
it's time to think about upgrading your server.

"Neo The One" <Ne*******@disc ussions.microso ft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.com...
On my development machine, I often delete all folders/files under
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files. That
has not caused me any trouble til now.

So now we have a production server and the system disk is running out of
space soon. I need to some files to make space. And I found the Temporary
ASP.NET Files folder contains hundres of megabytes of files. I want to
delete
them all, but I am afraid of any unwanted results to happen to the
production
server.

Please tell me if it is totally safe to delete all those files?

Nov 18 '05 #2
Thanks for your reply.

And another related question is is there any way to configure where these
temporary files go? For example, I want the Framework put these files on
another disk.

Oh, BTW, the reason the system disk is running out space is that I was
verystupid and only partioned 4gb space for C:.

"Scott M." wrote:
Yes it is safe. However, these are the fully compiled files that your
production server uses to process the application. Each new page request
will cause these files to be re-created and each first user to the page,
will experience a short delay in receiving the page as the new temporary
file is re-created.

If you are in that much of a bind for disk space on a production server,
it's time to think about upgrading your server.

"Neo The One" <Ne*******@disc ussions.microso ft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.com...
On my development machine, I often delete all folders/files under
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files. That
has not caused me any trouble til now.

So now we have a production server and the system disk is running out of
space soon. I need to some files to make space. And I found the Temporary
ASP.NET Files folder contains hundres of megabytes of files. I want to
delete
them all, but I am afraid of any unwanted results to happen to the
production
server.

Please tell me if it is totally safe to delete all those files?


Nov 18 '05 #3
Sure, you can delete them, but the real question is "should you"?
They will get recreated when the pages are hit, as they are cached native
compiles, amongst other things. So the answer to "should" is no.

I would look for other files to delete or add a new drive and migrate the
site over to that drive (copy and then point the application to the new
virtual directory). This will, at least, move your IIS information over. If
you have SQL on the box, consider moving data files and log files to another
drive or moving SQL to another machine prior to deleting temp files.

How big is the drive on this machine and what do you have installed? I am
sure you can find something less critical to delete.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************

"Neo The One" wrote:
On my development machine, I often delete all folders/files under
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files. That
has not caused me any trouble til now.

So now we have a production server and the system disk is running out of
space soon. I need to some files to make space. And I found the Temporary
ASP.NET Files folder contains hundres of megabytes of files. I want to delete
them all, but I am afraid of any unwanted results to happen to the production
server.

Please tell me if it is totally safe to delete all those files?

Nov 18 '05 #4
> Oh, BTW, the reason the system disk is running out space is that I was
verystupid and only partioned 4gb space for C:.


Time to reformat the HD. ;o)

-Darrel
Nov 18 '05 #5
> I would look for other files to delete...
http://www.werkema.com/software/spacemonger.html

Greg

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamM> wrote
in message news:EA******** *************** ***********@mic rosoft.com...
Sure, you can delete them, but the real question is "should you"?
They will get recreated when the pages are hit, as they are cached native
compiles, amongst other things. So the answer to "should" is no.

I would look for other files to delete or add a new drive and migrate the
site over to that drive (copy and then point the application to the new
virtual directory). This will, at least, move your IIS information over.
If
you have SQL on the box, consider moving data files and log files to
another
drive or moving SQL to another machine prior to deleting temp files.

How big is the drive on this machine and what do you have installed? I am
sure you can find something less critical to delete.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************

"Neo The One" wrote:
On my development machine, I often delete all folders/files under
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files.
That
has not caused me any trouble til now.

So now we have a production server and the system disk is running out of
space soon. I need to some files to make space. And I found the Temporary
ASP.NET Files folder contains hundres of megabytes of files. I want to
delete
them all, but I am afraid of any unwanted results to happen to the
production
server.

Please tell me if it is totally safe to delete all those files?

Nov 18 '05 #6
"Neo The One" <Ne*******@disc ussions.microso ft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.com...
Please tell me if it is totally safe to delete all those files?


Yes, but they'll recreate themselves the instant someone access your site...
:-)
Nov 18 '05 #7

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

Similar topics

0
1829
by: VZUmar | last post by:
Hi I am using IWebBrowser2 in my VC++ windows Application, My application uses browser control to navigate through different web pages. IE of machine has Security setting "Empty Temporary Internet Files folder when browser is closed" selected or enabled. Since my application used WebBrowser Control temporary internet files are not deleted. How can I force IWebBrowser2 Control to do cleanup of IE Temporary files whe my application exits ...
2
3705
by: yxq | last post by:
Hi, I want to delete the files in "Temporary internet cache" and "History" folder, is it ok to use "File.delete"? What are the true path of "Temporary internet cache" and "History" folder? Thanks
1
4290
by: Manish | last post by:
Hi all, Can any one plz suggest me how i can delete my temporary internet files within my Asp.net page. I am using C# as the code behind lang. Indeed, i have flash inserted on my .net page, which in turn gets its values from the xml file which gets generated at the run time according to the selection of the user in a DropDownList. I want to delete the flash from the "temporary internet files " folder so that on each combobox...
15
3999
by: ais523 | last post by:
I was just wondering whether there was a portable way to use gets() safely, and came up with this: #include <stdio.h> #include <stdlib.h> int main() { FILE* temp; char buf;
3
8786
by: Tony Girgenti | last post by:
Hello. Can i safely delete the files and folders in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files? Any help would be gratefully appreciated. Thanks, Tony
4
3654
by: Andrea Scharfe | last post by:
Hi there, I am writing a PHP script which generates some charts using gnuplot. This generates quite a large number of temporary image files. My problem is that I do not know how to delete these images after they have been loaded and are already displayed at the website. Everything I have tried so far resulted in that the images were not displayed at all. I already tried something like:
0
2944
by: wolfsbane | last post by:
Alright, here it is I am trying to write a win32 app in VB 2005 to clean up user's profiles. everything works correctly except for the Delete("directory", True) statement. I get a System.IO.DirectoryNotFoundException: Could not find a part of the path. Then it gives me a random file name from the UserProfile\Local Settings\Temporary Internet Files\Content.IE5\SomeRandomFolder. This is absolutley driving me nuts. So I am gonn give you a basic...
17
9901
by: byte8bits | last post by:
How does C++ safely open and read very large files? For example, say I have 1GB of physical memory and I open a 4GB file and attempt to read it like so: #include <iostream> #include <fstream> #include <string> using namespace std; int main () {
3
3603
by: Richard | last post by:
Hi, We have a few development dbs version 8, but really doesnt matter, that are non-recoverable ( LOGRETAIN OFF). How do I trim the log space ? db2 get db cfg for MYDB | grep 'First active log files' shows blank. And there are tons of logfiles and filling diskspace. As a side note, most of our dbs we have LOGRETAIN=YES and I trim all logfiles with numbers no less than the
0
8234
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
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8335
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
7158
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
6110
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
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
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.