Microsoft KB Archive/831685

= &quot;Connection to the server cannot be established&quot; error message when you try to create an ASP.NET Web application by using Visual Studio .NET =

Article ID: 831685

Article Last Modified on 4/25/2007

-

APPLIES TO


 * Microsoft ASP.NET 1.1
 * Microsoft ASP.NET 1.0
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





SYMPTOMS
When you try to create a Microsoft ASP.NET Web application by using Microsoft Visual Studio .NET on a computer that has a firewall application installed, you may receive the following error message:

Connection to the server cannot be established.



CAUSE
The firewall application is incorrectly configured to work with Microsoft Internet Information Services (IIS).



RESOLUTION
To resolve this problem, configure your firewall application to work with IIS, if it is possible. If you cannot reconfigure your firewall application, remove your firewall application.



STATUS
This behavior is by design.



Steps to reproduce the behavior
On a computer that has a firewall application installed, follow these steps:
 * 1) Start Visual Studio .NET.
 * 2) On the File menu, point to New, and then click Project. The New Project dialog box appears.
 * 3) Under Project Types, click Visual Basic Projects.
 * 4) Under Templates, click ASP.NET Web Application.
 * 5) In the Location box, type http:// / /MyWebApplication

Note Replace  with the name of a Web server, and then replace   with the name of a virtual directory on this Web server.
 * 1) Click Open. You may receive the error message that is mentioned in the &quot;Symptoms&quot; section of this article.

