473,765 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Have restart computer to unlock temporary ASP.NET, anyone has experienced this?

In my cuurent ASP.NET project, a weird thing happens: when I test-run the
project and a uncatched run error occurs, VS quits the test-run, as
expected. If I try to run the project again (either start it inside VS.NET
or directly call the page from IE), I get server error, pointing to
"machine.co fg" file at following portion:

<compilation ...>
<compilers>
...
</compilers>
<assemblies>
...
...
<add assembly="*"/> <---here is the line of problem
</assemblies>
</complition>

And the following error message says "cannot download file from
C:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\Te mporary ASP.NET
files\.projectn ame\......"

I went to the folder for temporary ASP.NET folder and found last folder at
the end of the chain was not accessible, locked by a process (aspnet_wp.exe,
maybe?). Anyways, I have restart the computer to unlock it. After restart, I
can run the project, either from VS.NET or from IE directly. But if I run
the project from VS.NET(!!!) again and if an error occurs, that temporary
folder is locked again. It does not happen if you run the pages from IE. It
prompt me that there could be something wrong with the project
setting/debugging setting. But I just cannot find where the problem is. Has
anyone been in this situation? Any idea?
Nov 18 '05 #1
1 1474
try using iisreset instead, its much faster.

-- bruce (sqlwork.com)

"Norman Yuan" <no********@Rem oveThis.shaw.ca > wrote in message
news:XYyhc.1861 81$Pk3.27657@pd 7tw1no...
In my cuurent ASP.NET project, a weird thing happens: when I test-run the
project and a uncatched run error occurs, VS quits the test-run, as
expected. If I try to run the project again (either start it inside VS.NET
or directly call the page from IE), I get server error, pointing to
"machine.co fg" file at following portion:

<compilation ...>
<compilers>
...
</compilers>
<assemblies>
...
...
<add assembly="*"/> <---here is the line of problem
</assemblies>
</complition>

And the following error message says "cannot download file from
C:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\Te mporary ASP.NET
files\.projectn ame\......"

I went to the folder for temporary ASP.NET folder and found last folder at
the end of the chain was not accessible, locked by a process (aspnet_wp.exe, maybe?). Anyways, I have restart the computer to unlock it. After restart, I can run the project, either from VS.NET or from IE directly. But if I run
the project from VS.NET(!!!) again and if an error occurs, that temporary
folder is locked again. It does not happen if you run the pages from IE. It prompt me that there could be something wrong with the project
setting/debugging setting. But I just cannot find where the problem is. Has anyone been in this situation? Any idea?

Nov 18 '05 #2

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

Similar topics

1
1486
by: Greg Steele | last post by:
Does anyone have a copy or know where I can get an installation executable for chiliReports 2.0 from chili! soft? The company I'm working for bought a copy several years ago, then moved their datacenter and lost the installation in the process. I have the registration e-mail that was sent to them with the unlocking code so we just need the trial installation executable.
3
2703
by: nek | last post by:
Greetings, I'm using DB2 WSE V8.1 FP2 on W2K SP4. Right clicking 'properties' from 'DB2 - DB2' service (Admin Tools -> Services), then selecting 'recovery' tab allows me to select computer's response if the service fails. So I choose 'restart the service' for first failure and 'reboot the computer' for second failure. Click 'Apply' and 'OK' to confirm this
2
3452
by: John Spiegel | last post by:
Hi all, Is there a way to programmatically restart Windows (2000, specifically), login automatically then start an application? I've been running across some Windows Shell options (which further examples would be appreciated) but would particularly like to find a .NET-specific example. TIA, John
3
8230
by: | last post by:
I want use C# to restart my computer, how to?
18
5374
by: amdishigh | last post by:
We are experiencing the following problems concerning ASP.NET: our ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0 environment, experience frequent session timeout problem. After tracing, we find that it should be caused by "ASP.NET Application Restart" (proved by incremented counter for "Application Restarts" of "ASP.NET 1.1.4322" in "Performance" whenever the timeout happens). From MSDN documentation, we find...
0
912
by: pmanno | last post by:
If a user has logged in via Forms Authentication and is currently viewing a page that is in a protected directory, then a change is made to Web.config (which causes the application to restart) if that user then attempts to follow a link embedded in the protected page to another protected page, an application error occurs instead of the user being redirected to the login page. During the debug process it seems that an Application_End event...
4
1600
by: Pierre Fleury | last post by:
I'm developing an asp .net solution. Everytime I restart my PC, I get an error http 500 when trying to access the web site. If I try to open the solution in vs 2003, I'll get the same error. I found out that aspnet_wp.exe won't start again. I found a way to get control back on the .net framework by deinstalling framework 1.1/reinstalling framework + service pack 1 + rebooting the PC. Then, everything works fine, unitl next reboot (happens...
19
2445
by: zzw8206262001 | last post by:
Hi,I find a way to make javescript more like c++ or pyhon There is the sample code: function Father(self) //every contructor may have "self" argument { self=self?self:this; //every class may have this statement self.hello = function() {
3
1685
by: Earl Anderson | last post by:
One of the users in our departmental db has Read/Write permissions to a particular form. He was able to access and edit the form at will until 2 weeks ago. His current problem was that he was not able to edit the data (no message ever appeared telling him he could not change any data). The only change to the db since he experienced the problem was that a new version of the db was made available for installation which everyone has now...
0
9398
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
10007
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...
1
9951
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
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...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
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
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.