Trouble with viewing .ASP

G

Guest

I created a page with links to a database saved it with the asp extension,
then published the website to my pc

Page name = index.asp
locations c:\test\

I first tried to view c:\test\index.asp - Internet Explorer cannot display
the webpage
then tried http://localhost/test/index.asp -Internet Explorer cannot display
the webpage

I followed all the instructions on publishing and it also created a stock of
hidden folders asigned to the database.

Have I missed something?
 
D

David Berry

You can only view ASP pages from a web server. You can't use a disk-based
web, such as C:\test. If you're running Windows XP Pro and have IIS
installed then publish the site to http://localhost/webname and then you can
preview the pages.

If you're getting a 500 error go to IE, Tools, Internet Options, Advanced
and un-check the box to show friendly HTTP error messages. Then try the
page again and you'll see the "true" error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top