Asp.Net - Class Dll not found help !

S

Stanley

Try just recompiling the assembly that is not found. Then recompile the
entire solution.

Stanley
 
T

TM

Asp.Net Experts,

I am build a sample .Net in Asp.Net (c#) using VS.net 2003 with .NFW 1.1.

1. At first, it compiles successfully with "release" version. I ran it and
it works fine.
2. Then I resize one of the textBox on the web form, then recompiled and I
got this error:

*********************************************************************
Server Error in '/myTestWebSite01' Application.
----------------------------------------------------------------------------
----

File or assembly name mytestModule, or one of its dependencies, was not
found.
Description: 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.

Exception Details: System.IO.FileNotFoundException: File or assembly name
mytestModule,
or one of its dependencies, was not found.
**********************************************************************

3. To get around, I had to bring down the IIS (Xp Pro.), delete everything,
recompile.

It seems that each time I fixed and recompile my program, I got the above
error.
Please note: In my program, I reference dll named "mytestModule".

Thanks for your help,

Thomas
 
T

TM

"Stanley"
Try just recompiling the assembly that is not found. Then recompile the
entire solution.

It does not work. The offending DLL is a class that is already compiled. I
just reference it.
Here is the folder that seems to cause the error:

"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\".

If I stop the IIS service and delete the entire content of the above folder,
then it works fine.

Thanks

TM
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top