473,503 Members | 9,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with one DLL using another DLL

Hi!
My aspx-project uses the dll "a.dll" for some calculations. I added a reference to this dll in my project - so I can use most of the functions provided by the dll. Some functions in "a.dll" make use of another dll ("b.dll") though. When I try to call these functions, an error occurs, saying that "b.dll" was not found. When I try to add a reference to b.dll, this doesn't work - an error occurs saying that "b.dll is not a valid assembly or COM component".

In order to solve my problem, I assume that I have to determine the place where my application should look for additional project components. I believe that this could either be done by
- setting a path to b.dll somewhere in my c#-code
or
- editing some configuration file (that contains information about the files in my project).

I'm not sure if my assumptions are right and if yes, how I could realize them.
Thanks to anyone who can give some hints how to solve this problem.

wolf

Jul 21 '05 #1
2 1487
Hi,

"wolfo" <an*******@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
Hi!
My aspx-project uses the dll "a.dll" for some calculations. I added a

reference to this dll in my project - so I can use most of the functions
provided by the dll. Some functions in "a.dll" make use of another dll
("b.dll") though. When I try to call these functions, an error occurs,
saying that "b.dll" was not found. When I try to add a reference to b.dll,
this doesn't work - an error occurs saying that "b.dll is not a valid
assembly or COM component".

Well, is it? Valid, I mean?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com
Jul 21 '05 #2
Hi,

"wolfo" <an*******@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
Hi!
My aspx-project uses the dll "a.dll" for some calculations. I added a

reference to this dll in my project - so I can use most of the functions
provided by the dll. Some functions in "a.dll" make use of another dll
("b.dll") though. When I try to call these functions, an error occurs,
saying that "b.dll" was not found. When I try to add a reference to b.dll,
this doesn't work - an error occurs saying that "b.dll is not a valid
assembly or COM component".

Well, is it? Valid, I mean?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com
Jul 21 '05 #3

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

Similar topics

7
2294
by: Aaron Prohaska | last post by:
I have just run into a problem where I have a page that posts back to itself to execute code, except when the page does the post back it somehow executes code that is in our home page for the site....
9
2799
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
5
2715
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
8
9699
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
16
4870
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
0
7207
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
7095
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
7294
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,...
1
7015
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...
0
7470
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...
0
5602
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,...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
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 ...

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.