473,771 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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~RFa9 8bc39.tmp" and it would be the same contents as
"Class1.cs" . Thanks for any help!

TIA
MC
Sep 20 '07 #1
2 1972
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
1830
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 work however converting from a pseudo master page to a true master page but only from the HTML 4.0 to XHTML 1.0 standpoint. VS 2005 IDE seems to be significantly slower than VS 2003. I upgraded my PC memory to 1GB (which helped) but have an...
8
2210
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 site / application from Visual Studio - some mentioning the use of IIS. Is there an official suggestion on how to remove unwanted sites
8
1551
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, etc. This all worked fine for a bit, but now, I get an error when trying to build the root site: "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a...
54
6458
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 quickly and easly." I don't agree on what concernes ASP .NET Web Sites in VS2005. All what involves Namespaces in Web sites has been disappeared. I know you can still MANUALLY manage them, but not QUICKLY and EASLY. In a
12
5914
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/ folder in the same directory as the source code. However, in Visual Studio .NET 2005 when I selected 'Publish Web Site' and selected a target location to place it in, it placed the following files in it: All *.aspx files All *.html files
8
1267
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 way I did it in VS.NET 2003 - uploaded only aspx and dll files - no longer works, correct? At least it didn't work for me. Thank you,
3
2099
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 where I've been asked to create a few new pages on an exsisting website. The website is written in vb.net with vb.net codebehind and classes. My employer says I can use C# for new stuff If I want.
3
8309
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 manually. Also, when I change from Debug to Release, all the pdb files remain in the bin folder. Shouldn't these be deleted automatically? Please let me know what the "Clean Solution" is supposed to do (if it's
2
1988
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 terrified of messing up my current website and I am afraid to do anything. I did try replacing the old files in my wwwroot folder with the new files. I then changed the ASP.Net version to 2 in the IIS Default Web Site. That did not work. (When I...
3
1188
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 file? Ist it reversable? 2) when my site has been upgraded then why does VS 2008 want to download loads & loads of XML files before it gets started on the page I wish to edit? VS 2005 seemed much faster in starting up
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10260
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...
0
10102
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9910
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
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...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2850
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.