Windows Service FilenotFound exception when accessing a type from an assemble

R

ropo

I have a class library used by a windows service executable, both
binaries and dependancies are in one bin directory located on c:.

1) I can run a test app on my class library without failure
2) My service runs, but if I reference anything in the class library it
fails with a FileNotFound exception e.g. MyClassLib.MyClass A = null;
will cause the exception
3) my service runs under the system account
4) using Window XP SP2
5) My class library is a C++.Net Assembly that wrapps a number of
unmanaged MFC and Win32 DLLs that are in my bin directory.
6) If I call System.Reflection.Assembly.LoadFile from within the
service my class library loads ok.

Any ideas as to how I might solve this one?
 
R

ropo

Got fuslogvw.exe to work by setting up a custon log path. Unfornatley
it didn't help much as all binding where successful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top