473,385 Members | 1,449 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,385 software developers and data experts.

VS.NET 2005 .TMP Files with ASP.NET Website

mc
I'm using VS.NET 2005 to create C# asp.net web applications. During deveopment and debugging 9using
the "ASP.NET Development Server"), a number of .TMP files are created they have been for Class
files, Xml Files, aspx files. Once created, a file lock exists that closing VS doesn't clear, a lock
which is only cleared once I disconect the media that the project is stored on. after removing and
reinserting the media they can be deleted.

I now have a script that scans my solution directory and deletes the temp files. which saves having
to find the files each time.

I'm uisng Vista and the Files are stored on a Sandisk 1GB Memory stick.

The contents of the TMP files are the actually items themselves, for instance a class named "Class1"
might have a .TMP file named "Class1.cs~RFa98bc39.tmp" and it would be the same contents as
"Class1.cs". Thanks for any help!

TIA
MC
Sep 20 '07 #1
2 1954
Hi MC,

Which project mode you're using, the Web Site mode or the Web Application
Project mode?

I'm not sure if it's related to the fact that the project is stored on a
removable media, but I'm not aware that Visual Studio will create .TMP
files in the solution folder. it will create intermediate files in the bin
and obj folders (if you're using Web Application Project) but there're no
.TMP files that will be created.

Do you mean that even you closed Visual Studio (and the built-in asp.net
development server), there's still files being locked? If this is the case,
there might be some other processes (such as indexing service) locked them.
You can try to use Process Explorer
(http://www.microsoft.com/technet/sys...ssExplorer.msp
x): menu "Find/Find Handle or DLL" to search "TMP" and it should list which
process is locking which file.

Do you have installed any add-in or packages in your Visual Studio? Maybe
some addin could be using those temp files?
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 21 '07 #2
mc
I use the "Open WebSite" mode.

Even when I close Visual Studio and the dev'mt server the locks persist.

Unpluging and re inserting the memory stick resolves.

I have no addins.

Whilst browsing for other similar issues I've noticed This "Feature" has been noted by others,
anoyingly I seem to have lost the bookmark, The report was in one of the MS forums.

I'll have a look at the ProcessExplorer next time I can replicate the problem.

Regards
MC

Walter Wang [MSFT] wrote:
Hi MC,

Which project mode you're using, the Web Site mode or the Web Application
Project mode?

I'm not sure if it's related to the fact that the project is stored on a
removable media, but I'm not aware that Visual Studio will create .TMP
files in the solution folder. it will create intermediate files in the bin
and obj folders (if you're using Web Application Project) but there're no
TMP files that will be created.

Do you mean that even you closed Visual Studio (and the built-in asp.net
development server), there's still files being locked? If this is the case,
there might be some other processes (such as indexing service) locked them.
You can try to use Process Explorer
(http://www.microsoft.com/technet/sys...ssExplorer.msp
x): menu "Find/Find Handle or DLL" to search "TMP" and it should list which
process is locking which file.

Do you have installed any add-in or packages in your Visual Studio? Maybe
some addin could be using those temp files?
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Sep 24 '07 #3

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

Similar topics

0
by: Mike S. | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
8
by: milkyway | last post by:
Hello, I have created many sample web sites for testing and now I would like to do some cleanup. When doing searches, it seemed that there were a good number of approaches to removing a web...
8
by: jdn | last post by:
I have a root application that has various sub-applications (subdirectories set up as applications within IIS). All of the sub-applications rely on the root application for profiles, membership,...
54
by: m.roello | last post by:
In the book: "Working with Microsoft Visual Studio 2005" Craig Skibo wrote: "The power of Visual Studio 2005 lies in its ability to empower users to build, test, and debug powerful applications...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
8
by: Peter Afonin | last post by:
Hello, I'm just starting to work with ASP.NET 2.0 and VS 2005. If I understand correctly, even if I precompiled my application, I still need to upload aspx.vb files to the server, correct? The...
3
by: jason | last post by:
I've been working with C# for over a year now without touching vb.net code. I had a few light years of vb.net before that. No real vb6 or windows form experience. Suddenly, I have an assignment...
3
by: Nick Gilbert | last post by:
Hi, In my VS.NET 2005, if I choose Build Clean Solution, the BIN folder is not touched. Shouldn't it delete all the dll and pdb files in that folder first? Instead, I'm finding I have to do it...
2
by: RobertEB | last post by:
I have a website I inherited. It was built in VS.net 2002. I have converted it to VS.net 2005. It runs great on my test server, but how do I replace my current website without screwing it up? I am...
3
by: jaems | last post by:
When I upgrade from VS 2005 to VS 2008 and then run VS 2008 linked to my remote website: 1) what is it doing to my website when the wizard upgrades my site? Is it only changing the web.config...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.