Re: VC++ 6.0 dll can not access a network drive



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.

.



Relevant Pages

  • << SBS News of the week - Sept 26 >>
    ... And he points to the info you need to put the file on the server in the ... at the network perimeter. ... The Symantec Firewall/VPN and the Gateway Security ... by the firewall at risk. ...
    (microsoft.public.backoffice.smallbiz)
  • << SBS News of the week - Sept 26 >>
    ... And he points to the info you need to put the file on the server in the ... at the network perimeter. ... The Symantec Firewall/VPN and the Gateway Security ... by the firewall at risk. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: << SBS News of the week - Sept 26 >>
    ... > And he points to the info you need to put the file on the server in the ... > at the network perimeter. ... The Symantec Firewall/VPN and the Gateway Security ... An attacker can exploit these flaws in tandem via specially ...
    (microsoft.public.backoffice.smallbiz2000)
  • << SBS News of the week - Sept 26 >>
    ... And he points to the info you need to put the file on the server in the ... at the network perimeter. ... The Symantec Firewall/VPN and the Gateway Security ... by the firewall at risk. ...
    (microsoft.public.windows.server.sbs)
  • Re: << SBS News of the week - Sept 26 >>
    ... > And he points to the info you need to put the file on the server in the ... > at the network perimeter. ... The Symantec Firewall/VPN and the Gateway Security ... An attacker can exploit these flaws in tandem via specially ...
    (microsoft.public.windows.server.sbs)

Loading