Could not load file or assembly 'App_Web_tod59ga8' and similar

C

craigkenisston

I'm working in the migration of an asp.net application in 1.1 to 2.0.
I'm new to this application, just worked with that some days.
Today, I decided to open the project in VS.2005 and everything seemed
to be fine, all opened and everything was migrated. I have been working
on improvements on it this day.

However, I found that sometimes I get this error :

"Could not load file or assembly 'App_Web_tod59ga8, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The
system cannot find the file specified"

The error always appears to point to places of code where user controls
are declared. The "App_Web_xxxxx" assembly seems to be a random name
choosen by VS.Net to rename my binaries or something like that.
The error is gone by either restarting the web services, or closing and
reopening visual studio or both.
Anyone has ever experimented this error ? Any clue ?
 
E

Eric Falsken

I'm working in the migration of an asp.net application in 1.1 to 2.0.
I'm new to this application, just worked with that some days.
Today, I decided to open the project in VS.2005 and everything seemed
to be fine, all opened and everything was migrated. I have been working
on improvements on it this day.

However, I found that sometimes I get this error :

"Could not load file or assembly 'App_Web_tod59ga8, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The
system cannot find the file specified"

The error always appears to point to places of code where user controls
are declared. The "App_Web_xxxxx" assembly seems to be a random name
choosen by VS.Net to rename my binaries or something like that.
The error is gone by either restarting the web services, or closing and
reopening visual studio or both.
Anyone has ever experimented this error ? Any clue ?

I get this error too. It shows up every few days, sometimes after only a
few hours. But of course, the file is where it should be.

<H1>Server Error in '/' Application.
<HR width="100%" color=silver SIZE=1>
</H1>
<H2><I>Could not load file or assembly 'App_Web_gvvevrsq, Version=
0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. The system cannot find the file specified.</I> </H2><FONT
face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><B>
Description: </B>An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code. <BR><BR>
<B>Exception Details: </B>System.IO.FileNotFoundException: Could not load
file or assembly 'App_Web_gvvevrsq, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot find
the file specified.<BR></FONT>

--
Eric Falsken
Technical Evangelist: db4o
web: www.db4o.com
email: (e-mail address removed)
skype: efalsken
 
E

Eric Falsken

Only solution I've found so far is to stop the W3SVC (WWW Publisher
Service) and delete all the files in
C:/Windows/Microsoft.NET/Framework/v2.0.50527/Temporary ASP.NET Files/*

When you first hit the website, it will be recompiled automatically.

Running aspnet_compiler -c -m /LM/W3SVC/nnn/ROOT/ dosn't seem to have any
effect.

--
Eric Falsken
Technical Evangelist: db4o
web: www.db4o.com
email: (e-mail address removed)
skype: efalsken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top