Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 6 and the command line

Status
Not open for further replies.

Nevermoor

Programmer
Jul 25, 2003
218
US
My site uses a dynamic PDF generator which much be run from the command line through ASP.

On the old server, IIS 5, everything worked like a charm using ASPExec to run the program. Now that I've moved the site over, ASPExec reports that it has called my program correctly but the program does not create a PDF file.

When I run the same command line call from cmd on the server, the PDF is created correctly.

As far as permissions, the site is structured as <MAIN FOLDER>/uploadedfiles/annualreports with the exe and pdfs sitting in the annual reports folder. I've gone as far as giving admin access to these folders and still no dice.

Has anyone had any success running command line programs from ASP in IIS 6?

Cheers,
Nm

PS... i tried just using WScript.Shell with no luck.
 
found this piece of info online related to IIS 6:

Code:
To run executables in the system folder (such as the command-line window, cmd.exe), the user must be a member of the Administrators group. Essentially, anonymous users cannot launch executables on the host system.

make sure you have the administrative privileges...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top