How to debug hybrid ASP and .Net Site in Visual Studio ?I have a site which runs both asp and .net . The .Net is framework 2.0, and i am using Visual Studio 2005 to develop. Does anyone know how i can debug some or all of this site ? <br/><br/>I have found links for debugging in ASP, and although my Visual Studio session recognizes the breakpoints, it doesnt' appear to work yet. If i hit f5, i get an error: <br/><br/>&quot;Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. C:\Inetpub\wwwroot\C2Intranet\C2Intranet\Web.config 49 &quot;<br/><br/>I do have a virtual directory in IIS, it has an application name, so i assume that i should not be getting this error.<br/><br/>It sure would be nice to be able to debug.<br/><br/>Help is appreciated.<br/>© 2009 Microsoft Corporation. All rights reserved.Wed, 08 Jul 2009 02:34:55 Zafcbe311-dc7c-433f-b55a-9cf99c610ecbhttp://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/afcbe311-dc7c-433f-b55a-9cf99c610ecb#afcbe311-dc7c-433f-b55a-9cf99c610ecbhttp://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/afcbe311-dc7c-433f-b55a-9cf99c610ecb#afcbe311-dc7c-433f-b55a-9cf99c610ecbM_Parker_1170http://social.msdn.microsoft.com/Profile/en-US/?user=M_Parker_1170How to debug hybrid ASP and .Net Site in Visual Studio ?I have a site which runs both asp and .net . The .Net is framework 2.0, and i am using Visual Studio 2005 to develop. Does anyone know how i can debug some or all of this site ? <br/><br/>I have found links for debugging in ASP, and although my Visual Studio session recognizes the breakpoints, it doesnt' appear to work yet. If i hit f5, i get an error: <br/><br/>&quot;Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. C:\Inetpub\wwwroot\C2Intranet\C2Intranet\Web.config 49 &quot;<br/><br/>I do have a virtual directory in IIS, it has an application name, so i assume that i should not be getting this error.<br/><br/>It sure would be nice to be able to debug.<br/><br/>Help is appreciated.<br/>Wed, 01 Jul 2009 14:24:44 Z2009-07-01T14:24:44Zhttp://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/afcbe311-dc7c-433f-b55a-9cf99c610ecb#91a459ea-c11c-4693-8f60-8f1c831ec265http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/afcbe311-dc7c-433f-b55a-9cf99c610ecb#91a459ea-c11c-4693-8f60-8f1c831ec265Martina Damaschkehttp://social.msdn.microsoft.com/Profile/en-US/?user=Martina%20DamaschkeHow to debug hybrid ASP and .Net Site in Visual Studio ?<p>Hello,<br/>this is a forum for answering .NET Framework Setup problems.<br/>You may want to ask for help here: <a href="http://social.msdn.microsoft.com/Forums/en-US/whatforum/threads">http://social.msdn.microsoft.com/Forums/en-US/whatforum/threads</a></p><hr class="sig">cheers -f Martina http://www.ahk-software.de/Thu, 02 Jul 2009 06:48:45 Z2009-07-02T06:48:45Zhttp://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/afcbe311-dc7c-433f-b55a-9cf99c610ecb#e34b179d-cdb8-479f-ba64-5e210e57b8achttp://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/afcbe311-dc7c-433f-b55a-9cf99c610ecb#e34b179d-cdb8-479f-ba64-5e210e57b8acYiChun Chenhttp://social.msdn.microsoft.com/Profile/en-US/?user=YiChun%20ChenHow to debug hybrid ASP and .Net Site in Visual Studio ?Thank you for Martina's kindly help.<br/><br/>Hi M_Parker_1170,<br/><br/>This forum is for the support of .NET Framework installation. Since your issue is related to ASP.NET, you could post your thread on <a href="http://forums.asp.net/"><span style="color:#0072bc">ASP.NET Forum</span></a>. This will make answer searching in the forum easier and be beneficial to other community members as well.<br/><br/>Thank you for your understanding.<hr class="sig">Please remember to mark the replies as answers if they help and unmark them if they provide no help. <br/> <a href="http://cfx.codeplex.com/">Welcome to the All-In-One Code Framework!</a> If you have any feedback, please tell us.Fri, 03 Jul 2009 08:05:46 Z2009-07-03T08:05:46Z