Since it's a mapped drive, that drive does not exists for the account you
used. I would suggest instead of using G:\, to use an UNC Path, for example
\\myserver\myshare\
--
Greetz
Jan Tielens
________________________________
Read my weblog:
http://weblogs.asp.net/jan
"Anthony Boudouvas" <anthonyb@mediatrel.com> wrote in message
news:uyyUMFJxDHA.1704@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi to all,
>
> is there a way to access a mapped network drive from
> a Windows Service application ?
>
> I created a very simple one, using a timer that checks for a file[/color]
existance[color=blue]
> on G:\Emails
> (a Novell server mapped drive)
> I created the Service with "LocalSystem" for the ServiceProcess.Account
> and it cannot find the G:\ drive.
>
> I try to declare it to run under the Administrator account but when it[/color]
tries[color=blue]
> to install (installutil) it asks for the credentials and it then fails,
> even if the UserName/Password stuff is correct...
>
> Does anyone has a solution to this ?
>
> Thanks a lot for any help
>
>
> anthonyb
>
>[/color]