Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1598
  • Last Modified:

Unable to contact web server

I have just installed IIS and Visual Interdev 6.0. While creating a project through Visual Interdev, in the "Specify a server and mode" screen, i am entering localhost as the server.
I am getting the error

Unable to contact web server http://localhost.

How to resolve this issue???
0
jaspreet_s_sethi
Asked:
jaspreet_s_sethi
  • 3
  • 3
  • 2
  • +3
1 Solution
 
cristy56Commented:
check to see if this folder exists :
c:\inetpub\wwwroot\

Cristy
0
 
cristy56Commented:
have u tried to create some asp or htm file in c:\inetpub\wwwroot\ and then access them successfully thru' the browser ?
e.g.
http://localhost/test.asp 
does that work normally ?

Cristy
0
 
jaspreet_s_sethiAuthor Commented:
WWWRoot folder exists...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
suramsureshbabuCommented:
check weather the iis is running or not if its not running start it through the iis admin interface

then type http://localhost/

and check
0
 
KarcOriginCommented:
Try
http://localhost:8080/

OR

http://localhost:80/

Pl. reply back with the result.

Cheers!

0
 
jaspreet_s_sethiAuthor Commented:
Cristy: test.asp worked without any issues..

suramsureshbabu: IIS is running.. http://localhost/ opened the IIS default page..

KarcOrigin: http://localhost:8080/ ----gave the page cannot be displayed error page
                 http://localhost:80/ --- opened the IIS default page...
0
 
mlpk_tyrCommented:
you need to specify the content directory for the server. place your contents in the appropriate folder or link the contents to the server. if everything is ok then you must have a page named index.html which will be the first page loaded whenever you make a request to the web address. try naming as index.html and reply.

hope this work,
mlpk_tyr
0
 
jaspreet_s_sethiAuthor Commented:
mlpk_tyr: the IIS is working fine.. if I code an ASP page and request it through the web browser it is working fine.. the issue is that I am getting the error when creating a new project from the Visual Interdev (read the question).
0
 
avidyaCommented:
hi jaspreet,

in VI can you connect to the server with http://127.0.0.1 ?
(this is the IP address for "localhost")
0
 
avidyaCommented:
and be sure to have the "Server extensions" enabled in IIS
0
 
avidyaCommented:
Hi Jaspreet,

Thanks and good luck
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now