473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Can I safely delete Temporary ASP.NET Files?

On my development machine, I often delete all folders/files under
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary 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 20063
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*******@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.com...
On my development machine, I often delete all folders/files under
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary 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*******@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.com...
On my development machine, I often delete all folders/files under
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary 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\Microsoft.NET\Framework\v1.1.4322\Tempo rary 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.netNoSpamM> wrote
in message news:EA**********************************@microsof t.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\Microsoft.NET\Framework\v1.1.4322\Tempo rary 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*******@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.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
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...
2
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? ...
1
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,...
15
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
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
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...
0
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...
17
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>...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...

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.