Setup a virtual directory in IIS, can access all files in the folder no probs, cant run or save as an exe file though.
I've set IIS permissions within the V/D to run scripts and executables but no good. Anyone got any idea? Thanks John |
Are you trying to run the exe on the server?
Cheers Alec [Edited by Alec - 9/25/2003 4:57:08 PM] |
Hi
No, its the Sophos remote update .exe file, I've published the virtual directory that the files are in, I need to be able to be able to run the .exe on a remote machine (or right click save as) so the .exe can be run. I've tried zipping the entire folder to a self extracting file, but as it's an exe I still can't do anything with it! :rolleyes: |
I think you need to use IISADMIN to set the permissions on the virtual folder to allow execute permissions.
|
mega_stream,
If you wnat to be able to run (or save) the file on the client machine you need make the "Execute Permissions" in virtual directory properties to either "Scripts only" or "None". This will allow you to save on the client machine. Cheers Alec |
Hi
Already set those parameters as mentioned in my 1st post... :( Frigging computers, I hate em sometimes [img]images/smilies/mad.gif[/img] |
What version of IIS & OS are you running?
|
u have set the Permissions differently to what he suggested...
If u set the permissions to execute exes... then when u go to the exe in the browser, u will not be able to download it - it will execute on the server. Setting the permissions to 'none' will allow u to 'Save or Open' the exe. Cheers Phil [Edited by SCOSaltire - 9/26/2003 11:58:13 AM] |
It's running W2K Advanced Server.
I've checked the following on the V/D settings Script Access Read Write Dir Browsing Setting Execute Permissions to none gives a page can't be displayed error with the following note Technical Information (for support personnel) Background: You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. |
Microsoft Article on the matter.
If this doesnt work then I suggest deleting the virtual directory and starting again. If all this fails, make a simple html file with just a href to the exe so people can right click save as. ~Jules Edited to say: You should only need the "Read" tick box ticked and "Scripts only" from the executure permissions drop down. Anything else is well, dodgy. [Edited by judgejules - 9/26/2003 3:12:13 PM] |
Excellent, thanks for your help Jules, deleted and re-created the virtual directory now working ok.
|
All times are GMT +1. The time now is 10:06 AM. |
© 2024 MH Sub I, LLC dba Internet Brands