MSDN > 論壇首頁 > .NET Framework Setup > How to debug hybrid ASP and .Net Site in Visual Studio ?
發問發問
 

已答覆How to debug hybrid ASP and .Net Site in Visual Studio ?

  • 2009年7月1日 下午 02:24M_Parker_1170 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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 ?

    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:

    "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 "

    I do have a virtual directory in IIS, it has an application name, so i assume that i should not be getting this error.

    It sure would be nice to be able to debug.

    Help is appreciated.

解答

  • 2009年7月3日 上午 08:05YiChun ChenMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Thank you for Martina's kindly help.

    Hi M_Parker_1170,

    This forum is for the support of .NET Framework installation. Since your issue is related to ASP.NET, you could post your thread on ASP.NET Forum. This will make answer searching in the forum easier and be beneficial to other community members as well.

    Thank you for your understanding.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

所有回覆