Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Need to run an exe from a virtual IIS directory...how!!

Thread Tools
 
Search this Thread
 
Old 25 September 2003, 03:16 PM
  #1  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Exclamation

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
Old 25 September 2003, 04:56 PM
  #2  
Alec
Scooby Regular
Support Scoobynet!
 
Alec's Avatar
 
Join Date: Aug 1999
Posts: 583
Likes: 0
Received 0 Likes on 0 Posts
Post

Are you trying to run the exe on the server?

Cheers

Alec



[Edited by Alec - 9/25/2003 4:57:08 PM]
Old 26 September 2003, 08:29 AM
  #3  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Talking

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!

Old 26 September 2003, 08:53 AM
  #4  
mannyo
Scooby Regular
 
mannyo's Avatar
 
Join Date: May 2002
Posts: 401
Likes: 0
Received 0 Likes on 0 Posts
Post

I think you need to use IISADMIN to set the permissions on the virtual folder to allow execute permissions.
Old 26 September 2003, 08:59 AM
  #5  
Alec
Scooby Regular
Support Scoobynet!
 
Alec's Avatar
 
Join Date: Aug 1999
Posts: 583
Likes: 0
Received 0 Likes on 0 Posts
Post

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
Old 26 September 2003, 10:35 AM
  #6  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Talking

Hi

Already set those parameters as mentioned in my 1st post...



Frigging computers, I hate em sometimes [img]images/smilies/mad.gif[/img]
Old 26 September 2003, 11:34 AM
  #7  
ozzy
Scooby Regular
 
ozzy's Avatar
 
Join Date: Nov 1999
Location: Scotland, UK
Posts: 10,504
Likes: 0
Received 1 Like on 1 Post
Post

What version of IIS & OS are you running?
Old 26 September 2003, 11:57 AM
  #8  
SCOSaltire
Scooby Regular
 
SCOSaltire's Avatar
 
Join Date: Mar 2001
Posts: 1,809
Likes: 0
Received 0 Likes on 0 Posts
Post

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]
Old 26 September 2003, 02:46 PM
  #9  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Talking

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.
Old 26 September 2003, 03:10 PM
  #10  
judgejules
Scooby Regular
 
judgejules's Avatar
 
Join Date: Nov 2000
Posts: 1,227
Likes: 0
Received 0 Likes on 0 Posts
Post

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]
Old 01 October 2003, 08:49 AM
  #11  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Excellent, thanks for your help Jules, deleted and re-created the virtual directory now working ok.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Billet
ScoobyNet General
42
14 October 2015 10:38 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
yabbadoo4
ScoobyNet General
11
30 September 2015 10:33 PM
B0DSKI
Non Car Related Items For sale
2
27 September 2015 06:58 PM



Quick Reply: Need to run an exe from a virtual IIS directory...how!!



All times are GMT +1. The time now is 02:01 PM.