473,785 Members | 2,819 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"File or assembly name ..., or one of its dependencies, was not found" error message

Hello,

Project = class library dll implemented in C++ as a managed wrapper around
an unmanaged class, and a small project to consume it (shown at bottom).

Running the consumer code results in the run time error message below, at
start up, before any of the consumer code runs. What does the error message
mean and how do I debug it?

"An unhandled exception of type 'System.IO.File NotFoundExcepti on' occurred
in Unknown Module.
Additional information: File or assembly name Project, or one of its
dependencies, was not found."

I found mention of a program called "XmlSerializerP reCompiler". Supposedly
it can be used to debug errors like this, but it reported no errors on the
project assembly. Any suggestions?

Thanks

// the consumer code is:
#include "stdafx.h"
#using <mscorlib.dll >
#using "C:\Project.dll "
int _tmain()
{
// run time error message appears before this point is reached
Project::Init() ; // a static class method

return 0;
}
Nov 17 '05 #1
1 1812
Hi Ian, It means you might wish to consider a career in the exciting field
of shoe sales. The path in the #using statement is not the same as the path
searched for at run time.
Nov 17 '05 #2

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

Similar topics

0
2668
by: Carl Owenby | last post by:
Re: Microsoft Knowledge Base Article - 174942 "File Modified Outside Source Editor" Warning Message I believe I have discovered a cause of this warning in a specific situation. I encountered this message while using Microsoft Visual C++ .NET. The message box appears after the "Build Solution" command is complete, following editing of a source file using the native .NET editor.
1
1737
by: Jay | last post by:
I'm installing one of my dlls to the GAC but no matter what attribute I try, the name that shows up in explorer under global assembly name is always just the name of my assembly file. Is there a way to use a short filename but have the fully-qualified assembly name show up in the gac? -- Regards, Jay A. Ritchie
3
1663
by: jhill | last post by:
i have a vb asp.net application that has been working fine for a week. if on the server box i type http://localhost/theapp, everything comes up just fine i've been continually developing. now, when i go to the web page from a remote pc like this http://the_server/theap i get a generic error in internet explorer saying the page can't be found if i use a specific path like http://the_server/theapp, i get an asp.net error saying "the...
4
2720
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the source of the files...
2
15486
by: Steve M | last post by:
I am having a really strange problem. I have a site setup in a virtual directory that fails with the error below. It works on other web servers that are network load balanced with this server. I can go right to the default.aspx right in the ISS Manager and right-click browse and the error still comes up. I re-copied the folder over from a working server and checked IIS and NTFS permissions and it all matches. I recreated the virtual...
9
6158
by: Martin Eyles | last post by:
Hi, I have set up an asp.net website on another PC in order to test it. The site was fine on my PC, but on the new PC all the pages give the error "The Page Cannot Be Found". Some legacy pages (ASP, as opposed to ASP.Net) work fine. The old PC was running Windows 2000 Server, and the new PC I am testing on is running Windows Server 2003. Thanks in advance,
0
1945
by: dbuchanan | last post by:
Hello, Why am I getting this error? I don't know how to isolate it. It occurs intermittently. Has anyone seen this before? Here is the full text \\ System.IO.FileLoadException was unhandled
3
5663
maliksleo
by: maliksleo | last post by:
hi all i m having this "The resource cannot be found." error. I applied the url rewriting on my project every page is being browsed very well but i am getting the above error an some pages i dont know why? can any one suggest some solution. When i click on the button on that page i got this error with something like this "Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had...
0
1240
by: bluethunder | last post by:
Good day! I'm having a problem with my program with regards in reports. I'm using VB 6, .mdb as my back end and Crystal Report 8.5 for my reports. After I input the required data and press the print button, it gives me an error of: error opening file file could not be found: "Rpt", at file location: "Rpt" I don't know why the error occurs. Is there anyone who can help me?
4
6709
by: santhanalakshmi | last post by:
Hi, In ODBC, i given data source name and the test connection is also successful. But i don't know, why i am facing this error DBI connect('wwwdsn','webid',...) failed: Data source name not found and no default driver specified (SQL-IM002) at C:/Program Files/Apache Group/Apache2/cgi-bin/auth/studpass.cgi line 20, referer: http://localhost/student.html Can not connect: Data source name not found and no default driver...
0
9645
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
9480
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
10324
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
10090
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,...
1
7499
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
6739
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
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
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.