ASP site not available on IIS 6.0 (Cannot find server or DNS error)

  • Thread starter Laurence Neville
  • Start date
L

Laurence Neville

I have just set up an ASP-based site to a new Windows 2003 SP1 server with
IIS 6.0. Before now the site has run under IIS 5.0 on Windows 2000.

Every time an ASP page is opened, IE shows the error: "Cannot find server or
DNS Error".
All static page types open fine (HTM, GIF etc)

The confusing thing is - I have allowed Active Server Pages under Web
Service Extensions in the IIS manager. No other extensions are allowed,
other than ASP.NET.

I have tried accessing the site from the server itself, from another machine
on the LAN. I have tried using the IP address, server name and localhost in
the URL. I have also removed the Virtual Directory the site lives in. None
of these changes made any difference. Oh yes, I have also tried rebooting!

What else is there to look at??
 
L

Laurence Neville

Most pages connect to a SQL Server database. However, I don't think this has
anything to do with the problem. Even a simple Hello World test ASP page
like this one produces the "Cannot find server or DNS Error":

<html>
<head>
<title>Test Page</title>
</head>
<body>
<%
Dim strMessage

strMessage = "Hello World"

Response.Write (strMessage)

%>
</body>
</html>
 
L

Laurence Neville

I solved the problem. I reinstalled the Windows 2003 Server service pack 1
and now ASP pages work. I have no idea why this fixed it. The server was
renamed at some point - maybe it has to do with it.....
 

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

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top