Avatar of yonbret
yonbret
Flag 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?
ASP.NETWindows Server 2012Microsoft IIS Web Server

Avatar of undefined
Last Comment
yonbret

8/22/2022 - Mon