Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > VS.NET 2005 .TMP Files with ASP.NET Website

Reply
Thread Tools

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

 
 
mc
Guest
Posts: n/a
 
      09-20-2007
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
 
Reply With Quote
 
 
 
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      09-21-2007
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
 
 
 
mc
Guest
Posts: n/a
 
      09-24-2007
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 ((E-Mail Removed), 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.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2005 has stopped generating the *.designer.vb files for *.aspx and *.ascx files Nathan Sokalski ASP .Net 1 05-15-2007 03:17 AM
"Certifications for Visual Studio 2005 and SQL Server 2005 will be available in early 2006" DST MCSD 8 10-28-2005 02:50 AM
EDPS 2005 Early Registration Ends March 16, 2005 b_kapoor@yahoo.com VHDL 0 03-15-2005 09:27 PM
ISC'2005 Industrial Simulation Conference, Berlin June 2005, CFP Philippe Geril VHDL 0 11-19-2004 04:13 PM
New Exams for SQL Server 2005 and Visual Studio 2005 gemeaux | tt Microsoft Certification 1 10-25-2004 06:59 PM



Advertisments