Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mc - 20 Sep 2007 11:11 GMT
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
Walter Wang [MSFT] - 21 Sep 2007 06:09 GMT
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/sysinternals/utilities/ProcessExplorer.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 (wawang@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.
mc - 24 Sep 2007 16:38 GMT
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

> Hi MC,
>
[quoted text clipped - 28 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.