Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 831685 - Last Review: April 25, 2007 - Revision: 1.6
"Connection to the server cannot be established" error message when you try to create an ASP.NET Web application by using Visual Studio .NET
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.
The firewall application is incorrectly configured to work
with Microsoft Internet Information Services (IIS).
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.
This
behavior is by design.
Steps to reproduce the behavior
On a computer that has a firewall application installed, follow
these steps:
- Start Visual Studio .NET.
- On the File menu, point to
New, and then click Project. The New
Project dialog box appears.
- Under Project Types, click Visual
Basic Projects.
- Under Templates, click ASP.NET Web
Application.
- In the Location box, type
http://WebServerName/VirtualDirectoryName/MyWebApplication
Note Replace WebServerName with the name of a Web server, and then replace
VirtualDirectoryName with the name
of a virtual directory on this Web server. - Click Open. You may receive the error
message that is mentioned in the "Symptoms" section of this article.
For more information, visit the following Microsoft Developer Network (MSDN) Web
sites:
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
| kbwebserver kbideproject kbfirewall kberrmsg kbprb KB831685 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate