Link to home
Start Free TrialLog in
Avatar of yonbret
yonbretFlag for United States of America

asked on

Unable to execute batch files from an ASPX page in IIS 8.5

We have been using an old program that does the following:

1) Using a .aspx page the user input a serial number and clicks a button
2) The code determines the necessary label information and writes it to a database table
3) The user clicks a hyperlink on the .aspx page that executes a batch file.
4) The batch file calls the label printing software and prints the label.

When trying to do the same thing in IIS 8.5, the batch file can't be executed.

We have the application pool in IIS set to use Network Service account and the network service account has permissions to run the batch file.

Any ideas why this wouldn't be working?
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yonbret

ASKER

I don't think it is browser related. Right now it runs perfectly using Chrome or IE on the old version of IIS.

We only have a problem when we attempt to run it on a newer version of IIS.

We will look into the API with the label software.