RE: Debugging mode failure



Hey Steven,

Your suggestion worked like a charm... Thank you very much. My debugging
features for VS2003 have returned and I have fixed the issue that I was
trying to debug as well.

Thanks again for your quick and accurate response.

Herb

"Steven Cheng[MSFT]" wrote:

Hi Herb,

Welcome to the ASPNET newsgroup.

From your description, I understand that you've installed VS 2003 on your
XP pro machine and currently you've also installed VS 2005 on it. However,
you are no longer able to debug ASP.NET application under VS 2003, correct?

As for the VS 2003's debugging issue, is it occuring right after you
installed the vs 2005 and is it always working correctly before you install
the VS 2005? Also, as for VS 2005, can you correctly debug ASP.NET 2.0
application(host in IIS rather than filesystem based) through VS 2005? If
the VS 2005 ASP.NET 2.0 debugging works well, I think the problem is
possibly caused by the IIS website/virtual directory's ASP.NET extension
mapping. For ASP.NET application, there exists application extension
mappings in the IIS's website or virtual directory setting. For example,
those asp.net specific extension (such as .aspx, .ascx, .asmx....) need to
be handled by aspnet_isapi.dll... However, different ASP.NET version has
different extension dll, and this will be automatically registered when we
intall .net framework (or VS IDE). Therefore, after you installed VS 2005,
the .net framework 2.0 installation has updated the application extension
mapping in IIS from ASP.NET 1.1 to ASP.NET 2.0. Thus, when you try running
ASP.NET 1.1 application, it actually run under asp.net 2.0 runtime, and of
course the VS 2003 IDE (which specific to .net 1.1) will fail to start
debugging on the ASP.NET 2.0 application process. You can open your IIS
manager to see whether the default IIS site or your original ASP.NET 1.1
application is currently configured as ASP.NET 1.1, there has a "ASP.NET"
tab in the IIS virtual directory's property dialog after you installed .net
framework 2.0, you can use this to switch the ASP.NET extension mapping
version for IIS website or application virtual directory.

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



.



Relevant Pages

  • RE: Debugging mode failure
    ... installed the vs 2005 and is it always working correctly before you install ... application(host in IIS rather than filesystem based) through VS 2005? ... For ASP.NET application, there exists application extension ... mapping in IIS from ASP.NET 1.1 to ASP.NET 2.0. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Problems with .Net frame extensions
    ... I have just installed IIS and followed the procedure listed KB306005 ... This fixed the extension mapping shown in the IIS administration tool, but it did not fix all my problems. ... The thing that I find different between a 2003 server that had IIS installed when the server was install vs this one is. ...
    (microsoft.public.inetserver.iis)
  • Re: Setting ASP.NET 1.1 web service extensions
    ... There is not need to "enable" the ASP.NET Web Service ... Extension on IIS v5.1. ... You just install the .Net Framework - that is all. ...
    (microsoft.public.inetserver.asp.general)
  • Missing asp.net 1.1 in web extensions
    ... asp.net 1.1 extension. ... when I go into IIS and look at web service ... need to install the .NET Framework 1.1 SDK separately; ...
    (microsoft.public.inetserver.iis)
  • Secure Windows XP from hackers/unwanted intruders.
    ... >Checklist for Securing a Windows XP IIS 5.1 Webserver ... >install it as an optiontal extra. ... >Regardless of the mechanism a hacker uses to break into ...
    (microsoft.public.windowsxp.security_admin)