Process.Start() from web services?

T

Tom

Hi,

I'd like to use Process.Start() in a webservice to run Acrobat for
printing PDF-Files. Unfortunately it seems not to work. Within a
Windows application it works fine?

Any hints? User rights for the IIS-User?

TIA
 
P

Peter Kelcey

Tom

I've used Process.Start in some of my web services and it worked fine,
so without knowing exactly what's going wrong for you, my first guess
would be that you are running your aspect worker process under the
default ASPNET user account. This is a very low privilege account and
it likely doesn't have access to run Acrobat. I would suggest changing
your system configuration (in the machine.config file) so that you are
running under the SYSTEM account and then give it another try.

As a matter of best practices though, I should mention that running as
SYSTEM does expose your system to a greater potential security risk
than running as ASPNET.

Peter Kelcey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,828
Latest member
LauraCastr

Latest Threads

Top