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

FileNotFoundException - File or assembly name.. or.. dependencies.. not found

id

Hi,

I was wondering if someone can shed some insight into this problem i'm
having. I am decent with C++ but very new to managed C++.

I have a managed c++ class library which wraps some unmanaged c++ code. At
the moment i'm using a test harness which is a C++.NET Windows Forms
Application project. (I have also tried writing the Test harness in VB.NET
and C# but got the same error).

What happens is that when i start up the test harness, the form loads, but
when i click the button to run the function i am testing from the class
library, i get the error i have pasted below.

I have tried explicitly defining the path of the class library's output
directory using the Reference Path project property, and have also tried
copying the project output manually into the test harness' executable dir.
ANd now i'm not sure what else to try!

Thanks in advance for any help/info..

idkrome

The error output is below:
----
'TestImagePreviewReaderCPP.exe': Loaded 'C:\Development\projects
\PerforceRoot\CodeLibrary\ImagePreviewReader\Debug \ImagePreviewReader.dll',
Symbols loaded.
'TestImagePreviewReaderCPP.exe': Unloaded 'C:\Development\projects
\PerforceRoot\CodeLibrary\ImagePreviewReader\Debug \ImagePreviewReader.dll'
An unhandled exception of type 'System.IO.FileNotFoundException' occurred
in system.windows.forms.dll

Additional information: File or assembly name ImagePreviewReader, or one of
its dependencies, was not found.
Nov 17 '05 #1
0 1984

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

Similar topics

0
by: id | last post by:
Hi all, I was wondering if someone can shed some insight into this problem i'm having. I am decent with C++ but very new to managed C++. I have a managed c++ class library which wraps some...
1
by: Peter Sze | last post by:
I wrote a ASP.NET program which can generate a Excel Report, that I using WindowXP and Oiffce XP to develop. It is work, but after I deployed to Window Server 2003 with Office 2003. It occur the...
2
by: Chris Aitchison | last post by:
Hello, I am attempting to have a class that I have written serialize so that it can be both passed as a parameter or return value for a webservice, and also be serialized to disk using the...
2
by: Scott Reynolds | last post by:
I am having a problem exposing a class inherited from the collection base class as a webservice. If I expose the collection on a web page all works well and I am very happy. However when I try and...
1
by: Brian | last post by:
I've looked through the previous posts on this one and have verified permissions and location of my Dlls, but I am still getting an exception when I try to Load an assembly. The directory where...
0
by: Martinh | last post by:
Hi After invoking RetrieveData in a WebService I recieve the following response in a new window... I am running Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 ...
0
by: jason | last post by:
Hello. Newbie question for sure. I've got this simple web service (.asmx) function that works fine when called remotly from asp.net client web page. The dll compiled output from the wsdl...
2
by: GeorgeB | last post by:
I have built a solution in vb.net with 2 projects the project with the class libraries and the project which consumes them. The class library project references some other libraries(Different Class...
3
by: James | last post by:
Hi guys Do you ever get the exception in Managed C++? How can I know which file or dll is missed?
1
by: Mongo | last post by:
I am getting the following error when I try to run a new webservice I have placed on any one of 4 windows 2003 servers. (Running under ASP.NET 1.1) To minimize the problem, I created a simple...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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...

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.