473,513 Members | 2,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Argh - File not found (80070002) error on DLL object instantiation!

This is driving me nuts.

I have created a Class Assembly in .NET C# which is to be used by
traditional ASP pages. I registered it just fine with the regASM command
and it work - about 2/3 of the time. The rest of the time I launch the
site and the following error is generated:

'80070002'
And that's it. No name of which file isn't found, etc. The line on which
this occurs is the Server.Createobject command - so I'm assuming, of
course, that the DLL is what ASP can't find. I'm moved it around and re-
registered it in several locations - system32, system, windows, etc. The
system could NEVER find the dll when it was placed in the applications
"bin" directory.

Is this correct? What the hell is going on? This problem didn't show
until we moved to production and the inconsitency of its appearance is
infuriating, as is the nearly complete lack of error reporting.

Anyone who knows what is happening here, please help!!
Nov 22 '05 #1
1 2976
I just ran in to this problem when we moved some sites to
a different server. spent a while looking for answers
until I realized that I had just forgotten to add the
assembly to the "Assembly Cache".

it may not be the same problem, I was getting the error
every time.

-----Original Message-----
This is driving me nuts.

I have created a Class Assembly in .NET C# which is to be used bytraditional ASP pages. I registered it just fine with the regASM commandand it work - about 2/3 of the time. The rest of the time I launch thesite and the following error is generated:

'80070002'
And that's it. No name of which file isn't found, etc. The line on whichthis occurs is the Server.Createobject command - so I'm assuming, ofcourse, that the DLL is what ASP can't find. I'm moved it around and re-registered it in several locations - system32, system, windows, etc. Thesystem could NEVER find the dll when it was placed in the applications"bin" directory.

Is this correct? What the hell is going on? This problem didn't showuntil we moved to production and the inconsitency of its appearance isinfuriating, as is the nearly complete lack of error reporting.
Anyone who knows what is happening here, please help!!
.

Nov 22 '05 #2

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

Similar topics

1
829
by: Henry Rollins | last post by:
This is driving me nuts. I have created a Class Assembly in .NET C# which is to be used by traditional ASP pages. I registered it just fine with the regASM command and it work - about 2/3 of...
0
2704
by: Coast Ranger | last post by:
A new application I'm running gives the user a "CLR error: 80070002" unless I make the user an administrator. The user has full rights to the directory that the application is installed in. ...
2
2233
by: Haro Panosyan | last post by:
Suppose I have defined a templete function prototype in a header file and the body in .cpp file and created executable without actually calling the templete function. Now let say from that...
4
1971
by: Steve Long | last post by:
Hello, I hope this is the right group to post this to. I'm trying to serialize a class I've written and I'd like to be able to serialze to both binary and xml formats. Binary serialization is...
2
1995
by: Rudy Ray Moore | last post by:
Whenever I get any error with Vc++7.1/.net/2003, it is followed by huge ammounts of "template assistance" error messaging referencing template code (MTL) that has nothing to do with the error. ...
20
2034
by: RWC | last post by:
Hi Folks, I have a windows 2000 server installation, IIS is running and the ASP.NET 1.1 SDK has been installed. I'm reading a book on ASP.NET and the lessons call for the first line to read <%@...
10
24039
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal...
5
1980
by: Generic Usenet Account | last post by:
I have been able to recreate a problem that I am having with the file stream using the simple sample code given below. I am trying to read the number of lines in a file, relying on the getline...
0
1008
by: Jeff Tchang | last post by:
Odd issue I am having with class instantiation on Python 2.5.2 (Windows). I have a custom module with a few classes in it. The module is named SAML.py. There is a copy of it in...
0
1156
by: John Krukoff | last post by:
On Tue, 2008-11-18 at 10:45 -0800, Jeff Tchang wrote: Random related question. If you're writing a SAML implementation have you found an XML Signature implementation that works reliably from...
0
7265
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
7171
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
7388
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
7545
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...
0
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.