Jump to content

Unable to run ASP


Viper5646

Recommended Posts

Hi all I have just started ASP in W3S I followed the instructions for installing IIS on Windows Vista.I also followed the instructions to test the Web.When I did run http://localhost/MyWeb/test1.asp I received a HTTP Error 404.3 - Not Found.I was also ran http://localhost/ the IIS7 page was displayed.Does anyone know what I could be doing wrong.Thanks

Link to comment
Share on other sites

Make sure you put the MyWeb folder inside the document root for your server (not sure where that is for IIS).

Link to comment
Share on other sites

don't know if they changed it in windows vista, but it used to be placed in C:\Inetpub\wwwroot
Thanks dsnesuk and Synook for your replies.Yes it is still in C:\Inetpub\wwwroot for Windows Vista.That is where I have put my test.Since I'm just syarting with ASP here is the code that I used as a test.
<html><body><%=("Hello from John")%></body></html>

Link to comment
Share on other sites

can't guarantee vista is the same, but try this.right click on your folderselect sharing and securityselect web sharing tabselect share this folder radio buttonclick Edit propertiesselect Execute (include scripts) radio buttonokok now try it

Link to comment
Share on other sites

When I go to properties and sharing I do not have the web sharing tab.I also tried just to right click on the folder selected share and I also did not find the Web sharing tab.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...