Article ID: 318465 - Last Review: March 27, 2007 - Revision: 4.5 PRB: Cannot Debug ASP.NET Web ApplicationThis article was previously published under Q318465 SYMPTOMS When you debug an ASP.NET application in Microsoft Visual
Studio .NET, you may receive the following Microsoft Development Environment
error message: Error while trying to run project: Unable
to start debugging on the web server. The server does not support debugging of
ASP.NET or ATL Server applications. Run setup to install the Visual Studio .NET
server components. If setup has been run, verify that a valid URL has been
specified. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project? CAUSE This error may occur if the Microsoft .NET Framework setup
or installation was not completed correctly. When this occurs, the application
mappings for ASP.NET file name extensions (such as .aspx) are not configured
correctly in Microsoft Internet Information Services (IIS). To check whether the application mappings are correct, follow these steps:
RESOLUTION To resolve this problem, use the Aspnet_regiis.exe
administration utility that manages the installation and uninstallation of
multiple versions of ASP.NET on a single computer. To use the Aspnet_regiis.exe utility, follow these steps:
REFERENCESFor additional information about other ASP.NET debugging
problems, click the article number below to view the article in the Microsoft
Knowledge Base: 306172
(http://support.microsoft.com/kb/306172/EN-US/
)
INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio .NET
For a description of symptoms typically related to
ASP.NET and IIS application mappings that are not configured properly, see
Microsoft Knowledge Base article Q325093.
325093
(http://support.microsoft.com/kb/325093/EN-US/
)
PRB: ASP.NET Pages Exhibit Unexpected Behavior Because the Server-Side Code Is Not Processed
For more information about ASP.NET debugging, see
the following MSDN Web site:
Debugging ASP.NET Web Applications For more general information about ASP.NET, see the following
MSDN newsgroup: http://msdn2.microsoft.com/en-us/library/w2faa92k(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/w2faa92k(vs.71).aspx) microsoft.public.dotnet.framework.aspnet
(http://msdn.microsoft.com/newsgroups/default.aspx?query=ASP.NET&dg=&cat=en-us-msdn&lang=en&cr=US&pt=&catlist=774F24A2-F71F-425F-AC2B-DC48AB0DA5C9&dglist=&ptlist=&exp=&sloc=en-us)
APPLIES TO
| Article Translations
|

Back to the top
