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

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.cofg" 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\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
files\.projectname\......"

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 1458
try using iisreset instead, its much faster.

-- bruce (sqlwork.com)

"Norman Yuan" <no********@RemoveThis.shaw.ca> wrote in message
news:XYyhc.186181$Pk3.27657@pd7tw1no...
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.cofg" 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\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
files\.projectname\......"

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
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...
3
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...
2
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...
3
by: | last post by:
I want use C# to restart my computer, how to?
18
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....
0
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...
4
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...
19
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; ...
3
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...
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
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.