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

Asp.Net - Class Dll not found help !

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


Nov 17 '05 #1
3 1551
Try just recompiling the assembly that is not found. Then recompile the
entire solution.

Stanley
"TM" <Th**************@Yahoo.Com> wrote in message
news:e3**************@tk2msftngp13.phx.gbl...
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

Nov 17 '05 #2
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\Temp orary ASP.NET Files\".

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

Thanks

TM
Nov 17 '05 #3
Hi,
It sounds like a security problem. Especially since it works once after
you delete everything. Maybe the link below will point you in the right
direction. Good luck. Ken.

http://msdn.microsoft.com/library/de...SecNetHT01.asp

"TM" <Th**************@Yahoo.Com> wrote in message
news:e3**************@tk2msftngp13.phx.gbl...
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

Nov 17 '05 #4

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

Similar topics

6
by: Brian Jones | last post by:
I'm sure the solution may be obvious, but this problem is driving me mad. The following is my code: class a(object): mastervar = def __init__(self): print 'called a'
2
by: dinks | last post by:
Hi, I'm new to C++ and have been assigned a task which i dont completely understand. Any help would be greately appreciated. Here is the problem: The class "linkedListType" use the "assert"...
4
by: Ced | last post by:
Hi, i'm not an expert in C but i try to compile BTNG software under linux kernel 2.4.2-2. I get these errors at the very first stage. Does someone could have a rapid look on this and tell me...
10
by: Not Available | last post by:
On the host server: namespace JCart.Common public class JCartConfiguration : IConfigurationSectionHandler private static String dbConnectionString; public static String ConnectionString { get...
5
by: Mahesh Devjibhai Dhola | last post by:
Hi All, I want to make a custom class in c#, which extends System.Xml.XmlNode class of BCL. Now in custom class, I have implement abstract methods of XmlNode class also. Now when I am trying to...
1
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final...
4
by: ddtl | last post by:
Hello everybody. Consider the following code: class A(object): def met(self): print 'A.met' class B(A): def met(self):
5
by: Amit_Basnak | last post by:
Dear Friends I have been getting the following error Error 185: "WorkFlow_dce.cpp", line 58 # Left side of '->' requires a pointer to class; type found was 'struct WF_SEARCH_WU'....
4
by: zfareed | last post by:
#include <iostream> #include <fstream> using namespace std; template<class ItemType> class SortedList { private:
1
by: aapexclient | last post by:
I have a problem with Java finding my custom class directory. I have searched the forums and tried everything, but nothing seems to work. The <javapgm>.java compiled cleanly and created...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.