473,803 Members | 4,392 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.Createob ject 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 2992
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.Createob ject 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 the time. The rest of the time I launch the site and the following error is generated: '80070002'
0
2724
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. Thanks in advance. CR
2
2245
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 executable I am loading a shared object and executing(dlsym-ing) some f() function, which inside calls the templete function. (Of course the header file with templete prototype is included in shared object source file, so it could be compiled.)
4
1993
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 working fine but when I try to instantiate an XmlSerializer object with: Dim xmls As New XmlSerializer(GetType(CLayerDefinition)) I get the following error:
2
2022
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. This makes it difficult to spot errors. For example, F4 to "jump to next error" just jumps ot the next "template assistance" message. And since there are hundreds of them, this is quite obnoxious. Can I disable these things? Why is MSVC...
20
2075
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 <%@ Page Language="VB"%>. When I save the page and run it (from a remote machine) I get the following message; "The scripting language 'VB' is not found on the server." I haven't been able to find ANY other solution. When I type this into
10
24090
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 strInput As String) return (strInput & " test") End Sub
5
2005
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 method to read all the characters (including leading whitespaces) until the new line character (the default line delimiter) or end-of-file is reached. Then I close the stream, reopen it and repeat the procedure. I get the correct answer only the...
0
1028
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 C:\Python25\Lib\site-packages\SAML.py. Basically when I try to run a python file that tries to create an instance of the class Subject I get this error: AttributeError: type object 'SAML' has no attribute 'Subject' In SAML.py I have the class...
0
1174
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 python? I've had a hell of a time finding something that doesn't segfault and is interoperable with .NET. As far as your problem goes, I would guess that somewhere you've got a class named SAML that's shadowing your module. See the difference in...
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10542
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10289
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9119
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7600
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6840
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4274
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.