Options

App crash when profiling an ASP.NET AJAX application

Hi there. When trying to profile my ASP.NET application, the profiler normally works as expected. However, whenever it encounters a page that uses an AJAX control (in this case, the 'official' ASP.NET AJAX "CascadingDropDown" control), the app crashes, at the following location:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.TypeLoadException: Bad unmanaged code entry point.

Source Error: 


Line 4:          <asp:Label ID="Label7" AssociatedControlID="MajorCommodity" Text="Major Commodity" runat="server" /> <% if (!DisplayVertically) { %><br /> <% } %>
Line 5:          <asp:DropDownList ID="MajorCommodity" width="175" runat="server"/>
Line 6:          <ajaxToolkit:CascadingDropDown ID="MajorCommodityTypeCascadingDropDown"
Line 7:              runat="server"
Line 8:              TargetControlID="MajorCommodity"
 

Source File: c:\This.Isnt.Really.The.App\Controls\CommodityTypeSelector.ascx    Line: 6 

Stack Trace: 


[TypeLoadException: Bad unmanaged code entry point.]
   AjaxControlToolkit.CascadingDropDown..ctor() in C:\Users\swalther\Projects\AspNetAjax\Releases\30930\AjaxControlToolkitSource\AjaxControlToolkit\CascadingDropDown\CascadingDropDownExtender.cs:41
   ASP.controls_commoditytypeselector_ascx.__BuildControlMajorCommodityTypeCascadingDropDown() in c:\This.Isnt.Really.The.App\Controls\CommodityTypeSelector.ascx:6
   ASP.controls_commoditytypeselector_ascx.__BuildControlTree(controls_commoditytypeselector_ascx __ctrl) in c:\This.Isnt.Really.The.App\Controls\CommodityTypeSelector.ascx:1
   ASP.controls_commoditytypeselector_ascx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\5883765a\95915a02\App_Web_3gsz6yrq.7.cs:0
   ASP.packages_aspx.__BuildControlCommodityTypeFilterSelector() in c:\This.Isnt.Really.The.App\Packages.aspx:7
   ASP.packages_aspx.__BuildControlPanel1() in c:\This.Isnt.Really.The.App\Packages.aspx:6
   ASP.packages_aspx.__BuildControlContent2(Control __ctrl) in c:\This.Isnt.Really.The.App\Packages.aspx:5
   ASP.masterpages_NotTheRealName_master.__BuildControlFiltersContent() in c:\This.Isnt.Really.The.App\MasterPages\NotTheRealName.Master:77
   ASP.masterpages_NotTheRealName_master.__BuildControl__control14() in c:\This.Isnt.Really.The.App\MasterPages\NotTheRealName.Master:76
   ASP.masterpages_NotTheRealName_master.__BuildControl__control9() in c:\This.Isnt.Really.The.App\MasterPages\NotTheRealName.Master:25
   ASP.masterpages_NotTheRealName_master.__BuildControlMainForm() in c:\This.Isnt.Really.The.App\MasterPages\NotTheRealName.Master:24
   ASP.masterpages_NotTheRealName_master.__BuildControlPageBody() in c:\This.Isnt.Really.The.App\MasterPages\NotTheRealName.Master:22
   ASP.masterpages_NotTheRealName_master.__BuildControlTree(masterpages_NotTheRealName_master __ctrl) in c:\This.Isnt.Really.The.App\MasterPages\NotTheRealName.Master:1
   ASP.masterpages_NotTheRealName_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\5883765a\95915a02\App_Web_p6javn8g.0.cs:0
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1236
   System.Web.UI.Page.get_Master() +141
   System.Web.UI.Page.ApplyMasterPage() +60
   System.Web.UI.Page.PerformPreInit() +109
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1452

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

I apologize if this has been addressed elsewhere; I was unable to find a corresponding error report in a search of forum posts.

Comments

Sign In or Register to comment.