Jump to content

ASP Newbie


Kosher Kid

Recommended Posts

Hi...I've been around for a while but am now tackling ASP. One problem, one question.Problem: I've set up IIS on my machine (XP-Prof) and it will read an HTML page just fine but it will not properly respond to an ASP page. It just displays a blank page in my browser. Any ideas?Also...is it worth learning ASP or should I go directly to ASP.Net?

Link to comment
Share on other sites

ASP isn't supported any more, there are a lot of examples and things but it's not going to be updated or maintained by Microsoft. It should be installed by default though with IIS 5, I'm not sure if you need to change any settings to get it to run. The settings that you would need to change, if any, would be for the web server or web site's properties pages inside IIS. Make sure you have permission to execute scripts.

Link to comment
Share on other sites

  • 1 month later...

Asp will most definitely work on an IIS server under XP Pro. I just set it up. I must say that getting it to work took some doing, and had to figure out most everything myself. A few of the sticking points I had to figure out myself:-When you add the windows components for IIS it will not by default give you FP extensions. Recommend you take all options.-Even if you do select the FP extensions from the Add Windows components, they wont be activated. That you have to do in Control Panel/ Administrative Tools/ IIS Server Admin. There is a physical folder and virtual folder for the Web Services and it is a right click, all tasks, configure FP extensions. There are a LOT of configuration details in that section that have to be right if you want to do anything except view static pages (i.e.run scripts). It is not configured to do very much out of the box.-If you dont have the FP extension right FP won't open the web. Try to have FP open http://127.0.0.1 or http://localhost. If you can get that far at least your web has the basics. Make up a simple default.htm and save it with the other miscellaneous files they give you.-See if a basic web will open. Point the browser to http://127.0.0.1 or http://localhost.-If all good, see if you rpage will process simple asp script; e.g. call for the time or date. Do you get at least this far?

Link to comment
Share on other sites

In addition to ensuring that you are trying to access local host in the browser, I find that in purely ASP based sites that you might need to edit the default page settings within "Initernet Information Services". To do this right click onto the default website and click onto properties. On the documents tab this is often populated by default.htm and iisstart.asp, I often add in index.asp .html etc espescially if you are running on your own local server. You might need to test to find out what settings your ISP has if you are going to run ASP pages on the web. The ISP that I use has default.asp as the first page to be viewed.Try creating a simple asp test page with some code in such as

<%= FormatDateTime(now(),1) %>

in the body to check that all is working fine.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...