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

Deployment problem with mixed mode dll

Hi everybody,

I have a problem with a mixed mode application. It consists of an
unmanaged C++ dll, a "mixed mode" dll and various VB.NET dlls using the
mixed mode dll to talk to the unmanaged dll.

When running on a development machine, everything works just fine. But
when deploying on a production machine, there is an error: the mixed
mode dll or one of its dependencies can not be found.

"System.IO.FileNotFoundException: File or assembly name XXXX, or one of
its dependencies, was not found."

Obviously there has to be a difference between the development and the
production machine. Probably the program requires an additional dll
which comes with VS.NET but is not installed on the production machine.

What would be the best way to find out what the problem is?

This might be a stupid question, but unfortunately I noticed this
problem very late in the development process, so this is kind of
urgent.

best regards,

Rüdiger Klaehn

Nov 17 '05 #1
1 1295
What version of VC are you using?

<ru**@lambda-computing.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hi everybody,

I have a problem with a mixed mode application. It consists of an
unmanaged C++ dll, a "mixed mode" dll and various VB.NET dlls using the
mixed mode dll to talk to the unmanaged dll.

When running on a development machine, everything works just fine. But
when deploying on a production machine, there is an error: the mixed
mode dll or one of its dependencies can not be found.

"System.IO.FileNotFoundException: File or assembly name XXXX, or one of
its dependencies, was not found."

Obviously there has to be a difference between the development and the
production machine. Probably the program requires an additional dll
which comes with VS.NET but is not installed on the production machine.

What would be the best way to find out what the problem is?

This might be a stupid question, but unfortunately I noticed this
problem very late in the development process, so this is kind of
urgent.

best regards,

Rüdiger Klaehn
Nov 17 '05 #2

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

Similar topics

0
by: igal.ioffe | last post by:
Hi All, I've run into a problem, converting a native project into mixed mode, where usage of gcroot point in mixed mode causes a fatal CLR engine exception. Here is a tiny code extract:...
3
by: Hugh Williams | last post by:
I have a mixed-mode DLL doing some SSPI stuff that needs to support a web service. The article at http://support.microsoft.com/?id=814472 says you need to manually initialize the CRT when doing...
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
8
by: Nadav | last post by:
Hi, I am writing a performence critical application, this require me to stick to unmanaged C++ as performance is much better using unmanaged C++ ( about 33% better ), Still, I am trying to avoid...
7
by: Kevin Frey | last post by:
Using .NET 1.1. We have a mixed-mode assembly written in Managed C++ that we are using from an ASP.NET application that has been coded using C#. The mixed-mode assembly has its own...
0
by: emu | last post by:
Hi All, I have an unmanaged C++ application that references a mixed mode image DLL (mixed managed and unmanaged). Under .NET 1.1 we could trust the dll (the mixed mode dll) by running the...
1
by: mndang | last post by:
Hi All, This may have been posted before and such, but I tried a few solutions on the web but to no avail. Problem: I have a web projects (not Web Application Project) with many project...
4
by: Joey | last post by:
Hi, I wrote a mixed-mode dll (with MFC and C++/CLI) which is called from a C#-EXE. Under special cirumstances (that is: another process sends a windows-message to my process - this message is...
0
by: JDS | last post by:
I have been trying to customise the installation of SQL Server Express as part of a .Net deployment. I want to change the authentication to mixed mode. I have edited the package.xml file to add:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.