Information générale
Titre:
Run as service problem
I have a small exe which runs just fine when i run it as a console app. I converted it into a System Service and installed the service with installutil.
The problem is that this exe refers to external dll (located in the same bin directory as the exe) When the exe tries to load one of the dll i get a FileNotFoundExeption. if i copy the dlls to whe winnt\system32 dir, everything is fine. but i don't want to do that.
Is there any difference on dependency search path in .Net for service application ? And how could i resolve this without copying the dlls into the system directory or to the GAC ?
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement