473,387 Members | 3,821 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,387 software developers and data experts.

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 1482
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
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
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
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
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
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
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:
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
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.