OK, thanks. I added a new extension called .exe, and added T1,exe and T2.exe, and made sure it was set to allowed.
When I do this and load the test page, I get:
Output from cgi: Unhandled Exception: System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
For testing, my test page has 2 ssi execs, one with t1.exe and the other with t2.exe. One program should output Hello, World, the other Hello, World 2. Instead, I get the above error twice, each after about a 20 second delay.
When I leave the mapping in (.exe --> T1.exe), it prints out t1.exe's output correctly, even when I specify #exec cgi="t2.exe" in my webpage.
Any ideas?
Main Topics
Browse All Topics





by: meverestPosted on 2008-02-06 at 03:08:44ID: 20830985
Hello,
there is no mapping for executable files. In order to make it work, you need to:
a) make sure that the web interactive user (e.g. IUSR_<computername>) has appropriate read/execute rights to the executable and directory,
b) enable execute permissions to include 'scripts and executables' - web site properties->home directory->execute permissions
c) add a new 'web service extension' enabling the .exe file/s to run.
Cheers.