troubleshooting Question

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

Avatar of yonbret
yonbretFlag for United States of America asked on
ASP.NETWindows Server 2012Microsoft IIS Web Server
2 Comments1 Solution77 ViewsLast Modified:
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?
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros