Groups | Blog | Home
all groups > iis security > december 2004 >

iis security : #exec cgi problem: lack of execute permission.


Helene Day
12/6/2004 12:58:39 PM
I have some web pages that I try to debug. The html page invokes a shtml
file, which invokes an executable, and the exe generates some html.



Here is one of the shtml

<html>

<body>

<!--#exec cgi="dice.exe?1"-->

</body>

</html>



Here is the error when the script is executed: " Cannot #exec 'dice.exe?1'
due to lack of execute permission."

However my virtual directory has execute permissions for scripts and
executables, and I checked all settings, such as: Script source access,
read, write, etc. I also tried to change the directory security settings
without any success.



Any help would be highly appreciated.



Helene

Helene Day
12/6/2004 2:00:06 PM
Works now... looks like the exe has to be in the Scripts folder of your IIS
web server.

[quoted text, click to view]

Tom Kaminski [MVP]
12/6/2004 3:12:56 PM
[quoted text, click to view]

Not necessarily ... it just needs to be in a folder that is set to allow
executables.

Helene Day
12/6/2004 3:30:47 PM
But I tryied everything.... and this is the only way I could get it work.



[quoted text, click to view]

AddThis Social Bookmark Button