all groups > dotnet distributed apps > november 2006 >
You're in the

dotnet distributed apps

group:

Strange dependency problem


Strange dependency problem lothar.behrens NO[at]SPAM lollisoft.de
11/7/2006 1:17:54 AM
dotnet distributed apps:
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=3D1.0.0.0, Culture=3Dneutral, PublicKeyToken=3D0f47ce5265036a51 oder
eine Abh=E4ngigkeit 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.=20


Any help ?=20


Thanks, Lothar
RE: Strange dependency problem Prabakar Samiyappan
11/7/2006 5:42:01 AM

Sorry Lothar,
in exeception which you have given here is in some other language then
english i cont understand .resend the execption

Regards
Prabakar
[quoted text, click to view]
Re: Strange dependency problem lothar.behrens NO[at]SPAM lollisoft.de
11/7/2006 6:43:55 AM
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:

[quoted text, click to view]
RE: Strange dependency problem Prabakar Samiyappan
11/8/2006 1:38:01 AM
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 .


[quoted text, click to view]
Re: Strange dependency problem lothar.behrens NO[at]SPAM lollisoft.de
11/8/2006 2:41:29 AM
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:

[quoted text, click to view]
AddThis Social Bookmark Button