I get this error - "The specified network password is not correct"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All,

I wrote a .dll that programatically maps two network drives and copies files
from one drive to the other. The .dll works fine when using an .exe to call
the .dll. When I call the .dll with a Windows Service I get the following
error - "The specified network password is not correct". This makes no sense
as both the .exe and the Windows Service are both run from my machine. I
also specify my domain account/password in the "Logon As" property of the
Service. I assume this means that the Service is running as me for the most
part just lilke the .exe is.

Any ideas what could be wrong?
 
The exe is being run as you while the windows service is user
yourmachinename/ASPNET. That's the difference.
-- Abe
 
Back
Top