views:

94

answers:

3

I'm doing some profiling on a 1.1 app and have identified a problem. It seems that this function is taking forever to load on a certain page:

ParserCacheItem System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String, String, HttpContext)

I've searched around with no luck about what this does. Does anyone know what this function is doing? If I knew then maybe it would shed some light on the situation.

Thanks!?

A: 

Hi Adam,

What does the page consist of?

Have you tried:

  • removing all elements from the page and running the profiler again and seeing if the same error occurs, if it doesn't add each element back to narrow down what was causing it
  • are all the namespace references correct for the .aspx?
  • have you tried running the app on another box thats running IIS to see if configuration might be the issue?
Ralph Willgoss
A: 

There is no exception being throw. The function is just the majority of my processing time and I'm trying to understand what it does. It would be tough to remove all elements from the page. It's a pretty involved page.

+1  A: 

Its really a process of elimination.

I've had similar problems where it seemed where I was the only one that had encounted a particular issue.

By breaking my page down I found the control that was causing the timeout/error and did some more specific searches around it.

I then found that the error actually had nothing to do with the symptoms I was experiencing, it was being masked by other issues.

It is an investment in time but you might find that there's some control or part of your page thats timing out for some completely unobvious reason and isn't being reported in anyway. You did hint that page was complex.

Ralph Willgoss