Article View: borland.public.cppbuilder.nativeapi
Article #14849Re: Accessing network mapped drives from Windows XP Service (BCB 5.5)
From: Remy Lebeau (TeamB)
Date: Mon, 28 Jul 2003 17:49
Date: Mon, 28 Jul 2003 17:49
29 lines
1980 bytes
1980 bytes
"Vish" <roopan@hotmail.com> wrote in message news:3f203232$1@newsgroups.borland.com... > I have this application written in Borland C++ Builder 5.5 > (running as windows Service on XP Machine) and I am > trying to access a network mapped drive inside the application > and it always returns error and doesn't recognize the network > mapped drive. Services running under the LocalSystem account do not have network access at all. You will have to configure the service to run under a different user account which does have network access. Under XP, there are several built-in user accounts designed for providing network access to services. Have a look at the LocalService and NetworkService user accounts: LocalService Account http://msdn.microsoft.com/library/en-us/dllproc/base/localservice_account.as p NetworkService Account http://msdn.microsoft.com/library/en-us/dllproc/base/networkservice_account. asp Gambit Gambit
Technical Details
Message-ID:
<3f2560e9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f203232$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6c86b4bb62dd2b75 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-28 10:59:00 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f203232$1@newsgroups.borland.com> Subject: Re: Accessing network mapped drives from Windows XP Service (BCB 5.5) Date: Mon, 28 Jul 2003 10:49:55 -0700 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f2560e9$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059414249 207.175.226.26 (28 Jul 2003 10:44:09 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail