yonbret
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.