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