Asp.Net - Class Dll not found help !

  • Thread starter Thread starter Stanley
  • Start date Start date
S

Stanley

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

Stanley
 
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
 
"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
 
Back
Top