Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - ASP script handler in IIS7/Vista
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP script handler in IIS7/Vista

 Post Reply Post Reply
Author
Hyarmion View Drop Down
Newbie
Newbie


Joined: 23 October 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hyarmion Quote  Post ReplyReply Direct Link To This Post Topic: ASP script handler in IIS7/Vista
    Posted: 03 November 2008 at 3:30am
I successfully got IIS 5.1 installed and running ASP scripts on my old XP Pro machine, but I have just moved to a Vista machine. I have installed II 7, but when I try to run an ASP script it tells me I need to set up a script handler for ASP. I had a look around on the MS Help websites and found out how to add a script handler but do not know how to add one specific to ASP (I think I need to do something with asp.dll, but I not sure what). Has anyone set Vista and IIS to run ASP?
Back to Top
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2008 at 3:40am
Vista does not have ASP setup as a default, I believe you have to go into inetmgr to enable it.
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2008 at 9:36am
You are correct, it is not enabled by default which is stupid if you ask me.
There is a fix:
 
Control Panel
Add/Remove (Programs and Features)
Turn Windows features on or off
Internet Information Services
Word Wide Web Services
Application Development Features
Tick ASP
 
that should be it working fine !
 
Back to Top
Hyarmion View Drop Down
Newbie
Newbie


Joined: 23 October 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hyarmion Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2008 at 11:15am

Well, I did what was suggested above, but now I get this error when I try to browse one of my ASP files:

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2008 at 11:18am
That means you have an error with your script.
Turn off friendly error messages to see the full error
 
Tools > Internet Options > Advanced > Untick friendly error messages
 
Then refresh and you should see what is wrong.
Back to Top
Hyarmion View Drop Down
Newbie
Newbie


Joined: 23 October 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hyarmion Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2008 at 10:55pm
Thanks to one and all I now have things working OK. As well as the above error message changes I also had to enter this horrible string at the command prompt:
%windir%\system32\inetsrv\append set config -section:asp -scriptErrorSentToBrowser:true
Then, and only then, did I start to get error messages telling me what was actually wrong with the script (you know, error messages that contain line numbers).Smile
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2008 at 11:03pm
Nice One !
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.01
Copyright ©2001-2018 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2019 Web Wiz Ltd. All rights reserved.