Researching the web all appear to provide the same or similar configuraiton however, I am still unable to properly process an executable from an ASP.net page.
I have a web page which displays a list of items with a link to another aspx page which performs a StartInfo Process to run my console application. My console app calls a process that reads a data file from a source location and saves the result to a destination. It also runs a process utility like 7z.exe which compresses the data output to a zip file which is stored in the final destination location. The processes work fine executed directly from the Server at command line. So, I am assuming user/permission.
What I am looking for is how to properly allow the execution of my utilities as well as a packaged program utility from an ASP.net page.
created a virtual directory where programs stored
Enabled handler mapping for exe and dll in the virtual directory.
I have created the Allow restriction for my application exe and dll , not sure how to handle a huge application with several dlls though.
changed permission on the files I am executing for IUSR
changed permission on the folders which I am accessing for IUSR
Tried identy impersonate=true
Event Viewer returns event id 1001
Again, I am assuming user access/permission but not sure where to look closer.
Or is there a way to allow the external program prior access privilege through code?
Any assistance would save some hair...