How copies files across from a UNC drive to my local drive in C# using .windows service

Jan 3 2005 8:59 AM
Hi. I'm having major trouble for the past few weeks solving a windows service issue. I created a simple program that just copies files across from a UNC drive to my local drive in C#. it works perfectly when i use a console application but not in a window service. In the local security settings i allowed myself(MyDomain\Myusername) to "log on as a service". I set the process installer -> account field in the service to User. When i install the service i'm allowed a log on page and i log on using the same MyDomain\Myusername with my password. This domain\username is the same as my log onto windows 2003 server. The problem is when i start the service i get an error saying "The specified network password is not correct." for the UNC path. Please help.