I'm using a window service that includes a file watcher on a network drive. whenever a file is created on a that drive the service copies it to some other network computer.
I know that i need to set the security credentials for a USER Account. But i think im having some problem wile configuring the account.
Example:
Network Drive is: \\NTSystemA\Sharedwhen i install the service, it asks the user name and password;
User Account: mohsins
Password: abcd
I have provided the following according to the instructions given in
[HTML]
http://support.microsoft.com/default.aspx?scid=kb;en-us;827421
[/HTML]
User Name = ComputerName\UserNameNow my system name is
Password = any password
"PC-mohsin"I gave the following when the window prompts during installation;
User Name is
"mohsins"
User Name: PC-mohsin\mohsins
Password: abcdefgh
But got the following error;
System.ComponentModel.Win32Exception: No mapping between account names and security IDs was done.Kindly let me know where i am doing wrong.
Thanks!