Re: Print Problems
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Thu, 16 Mar 2006 14:34:59 -0500
"ReTF" <re.tf@xxxxxxxxxxxxxxxx> wrote in message
news:eZ93InSSGHA.5656@xxxxxxxxxxxxxxxxxxxxxxx
The printer is atached in one server using USB, and is shared in LAN, and
the app live in other machine.
Well, services are usually installed in the context of the Local System
account which is all powerful on the host machine but which has no access to
the network.
So, my guess is that it is a security issue that you are facing. I think
what you need to do is to create a "machine account" with access to the
network for the system that hosts the service and then change the service to
use the built-in "Network Service" account rather than the Local System
account.
But security is definitely not my strong suit, so if you don't have a
network / system administrator to help you with the details, I suggest that
you post again in the kernel group
microsoft.public.win32.programmer.kernel
and explain that you have a service which needs programmatic access to a
networked printer. Chances are good that someone will explain the solution
in detail.
As an expedient, if your service does not need access to the interactive
desktop then you might try _temporarily_ installing it with the credentials
of a user who is able to access the printer.
Thanks for any help.
You are welcome.
Regards,
Will
.
- Follow-Ups:
- Re: Print Problems
- From: ReTF
- Re: Print Problems
- References:
- Print Problems
- From: ReTF
- Re: Print Problems
- From: William DePalo [MVP VC++]
- Re: Print Problems
- From: ReTF
- Print Problems
- Prev by Date: Re: I try to create a template-based singleton class. It passed under VC6 but failed under VC2005. Why?
- Next by Date: Re: how can convert char* to LPTSTR in VS 2005?
- Previous by thread: Re: Print Problems
- Next by thread: Re: Print Problems
- Index(es):
Relevant Pages
|