I wrote a windows service in vb.net language (visual studio 2005) to watch a network folder in a windows network. I do 3 jobs with this code:
1. Watch the network folder.
2. If a new file added, add it to the database.
3. delete the file.
I enter the username and password to connect to the windows network folder everytime I want to install this widowsservice.
I decided to use this program to do these actions for a FTP address. So I changed the FileSystemWatcher Path properety to the FTP address, then I used istallutil, and I entered the username and password, but I got this error:
......
An exception occurred during the Install phase.
System.ComponentModel.Win3
2Exception
: No mapping between account names and secur
ity IDs was done
.....
Help me please.
Start Free Trial