Re: VC++ 6.0 dll can not access a network drive
- From: DBC User <dbcuser@xxxxxxxxx>
- Date: Tue, 25 Sep 2007 12:53:44 -0700
On Sep 25, 1:15 pm, Bob Moore <> wrote:
I have a VC 6.0 dll, which is called from one another exe. This dll in
turn will execute couple of programs in a network with CreateProcess.
When I ran the CreateProcess, my getlast error returned with error
code 3
The server is Windows 2K3.
David's questions is very germane. What is the security context of the
loader process?
My company has a system where applications are run from within a
service, and we encountered a lot of problems when customers changed
from server 2000 to server 2003, because of the changes in share
security. It took some fairly panicky registry spelunking over an hour
on my part to fix this, and stop a customer in Florida summarily
ripping out *all* his server 2003 installations and reverting them to
2000.
Their service engineer kept saying it couldn't be security because he
could browse the problematic network location. It can be suprisingly
difficult to persuade people that just because YOUR account can see a
network resource, it doesn't mean every process currently running on
your machine can.
--
Bob Moorehttp://bobmoore.mvps.org/
(this is a non-commercial site and does not accept advertising)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do not reply via email unless specifically requested to do so.
Unsolicited email is NOT welcome and will go unanswered.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you all for the answer. I used the process explorer and checked
the process running and is running under my user id. This happens only
in Vista client, XP clients are working fine. I am running the
application, by right clicking and selecting 'Run as Admin'.
Thanks.
.
- Follow-Ups:
- Re: VC++ 6.0 dll can not access a network drive
- From: David Lowndes
- Re: VC++ 6.0 dll can not access a network drive
- From: Joseph M . Newcomer
- Re: VC++ 6.0 dll can not access a network drive
- References:
- VC++ 6.0 dll can not access a network drive
- From: DBC User
- VC++ 6.0 dll can not access a network drive
- Prev by Date: New PowerPoint Indexer released; internals documented
- Next by Date: Error in CString
- Previous by thread: Re: VC++ 6.0 dll can not access a network drive
- Next by thread: Re: VC++ 6.0 dll can not access a network drive
- Index(es):
Relevant Pages
|
Loading