473,796 Members | 2,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frustrating Build Error...

I keep encountering an error message while trying to build a solution that I
cannot seem to get around. I cannot figure out what the error is trying to
tell me as there does not appear to be much information provided.

I have a C# class library project (project A) that references a C++ class
library project (project B). If I compile project B, no errors are reported.
If I compile project A, no errors are reported. I also have a C# web
service project (project C) that references project A. When I compile
project C, the following error is reported:

The specified module could not be found. (Exception from HRESULT: 0x8007007E).

No file, line number, column or project information is provided with this
error.

I am not sure which module cannot be found. I am not even sure where to
being looking. Does anyone have any ideas as to where or what to look for?
Since I am not sure where to start looking, I may not have provided enough
information. If anyone needs more information, please let me know where or
how to find it and I will provide it.

Thank you,

Jason Richmeier
Jul 14 '06 #1
4 1289
Hi Jason,

Thank you posting!

Based on the description, the problem is you got a "The specified module
could not be found." error while you build a C# web service project which
reference a C# class library project, and the C# class library itself
references a C++ class library project. Please correct me if I
misunderstood anything.

In order to isolate this issue, would you please help me to confirm the
following ones?

1. What's the Visual Studio product you develop with, VS2005 or VS2003?

2. Is it a pure managed C++ class library project the C# class library
project references? If it is an unmanaged C++ class library, how do you
reference it in your C# class library project?

3. Can you find both of the related assemblies (the C# class library and
C++ class library) in the web service's bin directory?

The above information will help us get closer to resolving your issue, so I
appreciate your time to check them. Let me know the results at your
earliest convenience. If you have any questions or concerns, please let me
know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 17 '06 #2
Your statement about the project references is correct.

Answers to your questions follow.

1. I am using VS2005 to develop with. The web service project was
originally developed with VS2003 but I converted it to VS2005 (using the
conversion wizard). This may mean nothing but I thought I would mention it
in case it does.

2. I believe the C++ project is purely managed code. Is there a way to
verify this? I have inherited this project from another developer that is no
longer with us and nobody else around here uses C++.

3. All of the related assemblies exist in the web service project's bin
folder.

Thank you,

Jason Richmeier

""Gary Chang[MSFT]"" wrote:
Hi Jason,

Thank you posting!

Based on the description, the problem is you got a "The specified module
could not be found." error while you build a C# web service project which
reference a C# class library project, and the C# class library itself
references a C++ class library project. Please correct me if I
misunderstood anything.

In order to isolate this issue, would you please help me to confirm the
following ones?

1. What's the Visual Studio product you develop with, VS2005 or VS2003?

2. Is it a pure managed C++ class library project the C# class library
project references? If it is an unmanaged C++ class library, how do you
reference it in your C# class library project?

3. Can you find both of the related assemblies (the C# class library and
C++ class library) in the web service's bin directory?

The above information will help us get closer to resolving your issue, so I
appreciate your time to check them. Let me know the results at your
earliest convenience. If you have any questions or concerns, please let me
know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 17 '06 #3
In my earlier reply, I failed to mention something in the answer for question
number two. I believe the C++ project uses some sort of unmanaged PGP
library. I have tried to install (what I believe) to be the correct PGP
products (so that the unmanged libraries get installed and registered) but
this did not help. Furthermore, I attempted to compile the project on the
machine that was used by the previous developer and it will not compile on
his machine either. Again, this may not mean anything but I don't want to
leave anything out.

Thank you,

Jason Richmeier

""Gary Chang[MSFT]"" wrote:
Hi Jason,

Thank you posting!

Based on the description, the problem is you got a "The specified module
could not be found." error while you build a C# web service project which
reference a C# class library project, and the C# class library itself
references a C++ class library project. Please correct me if I
misunderstood anything.

In order to isolate this issue, would you please help me to confirm the
following ones?

1. What's the Visual Studio product you develop with, VS2005 or VS2003?

2. Is it a pure managed C++ class library project the C# class library
project references? If it is an unmanaged C++ class library, how do you
reference it in your C# class library project?

3. Can you find both of the related assemblies (the C# class library and
C++ class library) in the web service's bin directory?

The above information will help us get closer to resolving your issue, so I
appreciate your time to check them. Let me know the results at your
earliest convenience. If you have any questions or concerns, please let me
know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 17 '06 #4
Hi Jason,

Thanks for the detailed reply!
>Is there a way to verify this?
You can check that C++ project's configuration: the entry of 'Project
Properties | Configuration Properties | General |Project Defaults | Common
Language Runtime support' should be the "Pure MSIL common Language Runtime
support".
>I believe the C++ project uses some sort of unmanaged PGP
library. I have tried to install (what I believe) to be the
correct PGP products (so that the unmanged libraries get
installed and registered) but this did not help.
That may cause the problem, if the unmanaged PGP library has the DLLs, I
suggest you also manually copy its corresponding DLLs to your web service's
bin directory. The VS2005 IDE will not copy those C++ class library
referenced DLLs to the web service's bin directory automatically, but those
referenced unmanaged DLLs should be in the same directory as well as the
C++ class library assembly.

These tests will help us get closer to resolving your issue, so I
appreciate your time in performing them. If you have any questions or
concerns, please let me know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 18 '06 #5

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

Similar topics

3
1268
by: Loui Mercieca | last post by:
Hi, I have a very strange and frustrating error. I developed an application, tested it and it works fine. Then i deploy it to another machine ( no installation, direct file transfer ) but it doesn't work. I have errors like parsing the querystring differently etc.Even on firefox there are mismatches in logic. I have been trying for long to fix it, but unsuccessfully. Its very frustrating because i can see it work on my machine. Thanks
6
3216
by: walkerfx | last post by:
Hi Everyone, I have been trying resolve this issue for many hours and am not making any progress. I have a DLL that I'm updating with some new 3rd party libraries. However, there appears to be a conflict causing the following link errors: ------------ error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??_V@YAXPAX@Z) error LNK2001: unresolved external symbol __ftol2
39
2025
by: mike3 | last post by:
Hi. I was writing a program in C++ that generates fractals. I got this weird bug though right now that's holding it up and was wondering if you could help. Anyway, it seems that when this code is executed, it corrupts the memory causing a crash later on (the program actually causes an "access violation" error in Windows, which the program is running under):
3
1590
by: Sejoro | last post by:
At this point in life, I thought syntax wouldn't be a problem, but it is. I'm trying to write yet another school program, but keep getting compile errors in the main function when I try to pass an array of structs to any other function. The error is operand expected instead of ",", and at this point I've managed to get it down to one error. What am I doing wrong? I've tried everything. Here are the two lines in their current form: ...
0
9679
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
10453
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...
0
10223
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10172
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
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6785
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();...
1
4115
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
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.