Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / November 2006

Tip: Looking for answers? Try searching our database.

Strange dependency problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lothar.behrens@lollisoft.de - 07 Nov 2006 09:17 GMT
Hi,

I have a serviced component, that exposes a class I am able to use some

methods from.
But one of the methods in my application flow then throws this
exception:

System.IO.FileNotFoundException: Die Datei oder Assembly Voil,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=0f47ce5265036a51 oder
eine Abhängigkeit davon wurde nicht gefunden. Das System kann die
angegebene Datei nicht finden.

If I run the classes in local mode on my development system, all works
fine.

If I test the component via a vbs script, the function can be called.

I have updated the assemblies, that must be in the GAC. I have
recreated the proxy classes.

The software runs with .NET 2.0.

Any help ?

Thanks, Lothar
Prabakar Samiyappan - 07 Nov 2006 13:42 GMT
Sorry Lothar,
in exeception which you have given here is in some other language then
english i cont understand .resend the execption

Regards
Prabakar

> Hi,
>
[quoted text clipped - 22 lines]
>
> Thanks, Lothar
lothar.behrens@lollisoft.de - 07 Nov 2006 14:43 GMT
It means, that the system was unable to load the assembly or one of
it's dependencies.
Currently I haven't it in english.

Hope this helps.

Prabakar Samiyappan schrieb:

> Sorry Lothar,
> in exeception which you have given here is in some other language then
[quoted text clipped - 29 lines]
> >
> > Thanks, Lothar
Prabakar Samiyappan - 08 Nov 2006 09:38 GMT
The reason for your problem is you have a depended dll for the existing dll
which you use in your application.

The reason for working in the local is the dll is present in the private or
shared assembly of that machine. Check whether all the dependencies are
present .

> Hi,
>
[quoted text clipped - 22 lines]
>
> Thanks, Lothar
lothar.behrens@lollisoft.de - 08 Nov 2006 10:41 GMT
The reaseon for the problem was, that the DLL resided on client side in
the app directory,
what shouldn't happen. In that case the server searched for an unknown
reason in the GAC.
But If I have installed the DLL into the GAC of the server, other
classes are 'not serialized', but
have to be serialized.

So it might be that Windows seems to do serialization, if a remote DLL
is located on client
side and I explicitly create an enterprise service object.

After removing the client side DLL, that haven't to be there, also the
serverside doesn't has a
look for that DLL in the GAC.

A question: Why could the object instantiated for the first, say, three
functions, but then
not anymore ?

Lothar

Prabakar Samiyappan schrieb:

> The reason for your problem is you have a depended dll for the existing dll
> which you use in your application.
[quoted text clipped - 29 lines]
> >
> > Thanks, Lothar

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.