Home All Groups Group Topic Archive Search About
Author
13 Dec 2006 4:36 PM
Miguel
Hello,

    I have a vb.net application that can create and copy files to a
server. The problem comes when I put all that code in a Service but
there is no way to access the server. Does anybody know if I the
Windows application has special grants that the service has not??.

    Is there some code o configuration to make it work??

Thanks for your help.


Miguel Angel.

Author
15 Dec 2006 12:16 PM
Phill W.
Miguel wrote:

>     I have a vb.net application that can create and copy files to a
> server. The problem comes when I put all that code in a Service but
> there is no way to access the server.

Windows Services generally run under the "Local System" account, which
cannot "see" the network.
If you're on Windows 2003 Server, try running it under "Network System",
otherwise, nominate a Domain account that will have network access and
run it under that.

Regards,
    Phill  W.