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

One of its dependencies is missing! Help!

AppDomain appDomain = AppDomain.CreateDomain("appDomain", null, null);
try
{
appDomain.Load(@"FF-DeliousDateTimeRequestor.dll");
}
finally
{
AppDomain.Unload(appDomain);
}

Does anyone know why im getting this exception?

"File or assembly name FF-DeliousDateTimeRequestor.dll, or one of its
dependencies, was not found."

While i have placed that DLL in all folders of that project to be sure but
still its still showing that exception. Thank You so much in advance! Badly
needed for my thesis.

Jan 27 '06 #1
1 1666
Hi Rain,
the string passed to the Load method should be the name of the assembly,
not the path or filename so remove the .dll extension from the name, that
might be your issue.

If not looking at the documentation for Assembly.Load gives the following
note, which may be related to your problem:

"An attempt to call AppDomain.Load on an application domain that is not the
current application domain will result in a successful load of the assembly
in the target application domain. Since Assembly objects are not
MarshalByRef, when the method attempts to return the Assembly object for the
loaded assembly to the current application domain (i.e., the callers
application domain), the runtime will try to load the specified assembly into
the current application domain. The load may fail if the configuration
settings (such as AppDomainSetup.ApplicationBase) for the two application
domains are different. Even when the loading into the current application
domain succeeds, the Assembly object that is loaded into the current
application domain is different from the assembly that was loaded into the
target application domain."
Mark.

"Rain" wrote:
AppDomain appDomain = AppDomain.CreateDomain("appDomain", null, null);
try
{
appDomain.Load(@"FF-DeliousDateTimeRequestor.dll");
}
finally
{
AppDomain.Unload(appDomain);
}

Does anyone know why im getting this exception?

"File or assembly name FF-DeliousDateTimeRequestor.dll, or one of its
dependencies, was not found."

While i have placed that DLL in all folders of that project to be sure but
still its still showing that exception. Thank You so much in advance! Badly
needed for my thesis.

Jan 27 '06 #2

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

Similar topics

2
by: Antony | last post by:
Hi, Is there a way to check what the dependencies of an assembly are, apart from loading with ILDASM and checking the manifest information? I keep getting TypeLoadException problems in one of...
3
by: Bruce Wilhelm | last post by:
I have a VS2003 solution with 4 projects in it. I am trying to set up the dependencies in the dialog box, but after I close the dialog the dependencies do not change. Is there something that I am...
0
by: Lennart Jonsson | last post by:
Hi, I'm using db2 udb linux v7.2 fixpak 9 and came across a problem. I didnt find it in any apar nor mentioned in this newsgroup, so I'm curios if anyone else experienced it, and how they solved...
1
by: Scott Hamlin | last post by:
I am receiving an error while trying to use Crystal Reports with .NET, which I have pasted below. The main problem is this message: File or assembly name CrystalDecisions.CrystalReports.Engine,...
0
by: Nick Zdunic | last post by:
When creating a Web Setup Project in VS 2005 and adding the project output from a web project, it doesn't appear that the dependencies are being added. The folder is blank when there should be...
7
by: barias | last post by:
Although circular dependencies are something developers should normally avoid, unfortunately they are very easy to create accidentally between classes in a VS project (i.e. circular compile-time...
8
by: Scott Sauyet | last post by:
I found myself needing to find my way recursively through a document in XSLT, finding the dependencies one element had on others, and including only those in an initial set, their dependencies, the...
1
by: Benny | last post by:
I have built a wrapper class as a dll in Visual Studio 2005 using Visual C++ .Net. When I include the dll in another project, Project B, on my machine, it works. When I package Project B and...
6
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.