English 中文(简体)
DotNetNuke 5.6 + DNNRadMenu = Terribly Slow Debugging (100% CPU usage in 1 Core for 30 seconds)
原标题:

When i do the following, I have one CPU core that sits at 100% utilization for about 30 seconds (page does not finish loading until this 30 seconds is up).

  1. Add RadMenu to a skin
  2. Load a page that uses that skin
  3. Confirm that the page loaded OK (DNN recompile went fine...)
  4. Turn on debugging (attach to w3wp.exe in VS2010)
  5. Refresh page

wait 30 seconds...

When I remove the RadMenu from the skin, the thing debugs immediately.

I m using the DNN download for RadMenu http://dnnradmenu.codeplex.com/

Any tips?

I ve tried:

  • removing most other skin object references in the skin
  • replicating behavior on multiple pages, multiple skins
  • Telling VStudio to ignore symbols named: radmenu (I don t know if this catches those items in
    the asp.net temp files folder) and the telerik (huge) DLL in dnn/bin
  • turned off most debugging extra features in VS2010
  • Set debug=false in the radmenu ascx file

I don t know if there s a new version available. I ve got the only version available on that download site.

DNN 5.6.x Community, Radmenu 1.0, VS2010 (latest SP/etc), IIS7, .Net Framework 4.0, Win7 64bit

最佳回答

The unfortunate solution to this problem is to disable the DNNRadMenu when debugging in Visual Studio is necessary. I have added two shortcuts on my Desktop. One renames DNNRadMenu.ASCX (to disable), and the other shortcut renames it back (to enable).

The above issue may not be a problem with the Telerik controls made available in non-community versions of DNN.

The above issue only concerns the DNNRadMenu that is made available for community as of 5.6.

问题回答

Have you tried the RadMenu skin object that Telerik provides? With your Telerik components, there should be an additional DNN download which contains a Skin Objects package.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签