Kavitha K
Kavitha K

Reputation: 11

Running My First ASP classic code

I am learning ASP and I followed the steps given in W3Schools website to the T. Whenever I try and run the first and only ASP file in inetpub/wwwroot/MyWeb Chrome says, it is not able to connect to localhost !

I dont know what extra details I have to provide, but please help me with this.

Upvotes: 0

Views: 187

Answers (1)

AnonJr
AnonJr

Reputation: 2757

Since you've already stated that IIS is running, the next thing to check is if a static page is working. Create a file called Hello.htm in the content folder for IIS (by default, this is C:\Inetpub\Wwwroot) that contains some simple, bare-bones code. Then request http://localhost/hello.htm from the Web browser that is installed on the IIS server.

After that, the next thing to check would be if ASP is enabled. Classic ASP is not enabled by default on IIS6+ (Technet)

  1. In IIS Manager, expand the local computer, and then click Web Service Extensions.
  2. In the details pane, click Active Server Pages, and then click Allow.

It may be a little different depending on the version of IIS you are running.

Where to go next will depend on what results you get from the above.

Upvotes: 1

Related Questions