How to Profile with Custom Controls

Hi there,

I have an application which uses custom controls, including on the statup.aspx page (which launches the app).

I have put in the server and virtual paths.

When the profiler starts, i get a directory listing.

I click on startup.aspx and i get a Parse error as it is unable to resolve the custom control tag prefix - i assume its not correctly accessing web.config (which where the tag prefix's are defined).

The Parse error:

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'etag:HTMLPageIconTag'.

Source Error:


Line 4: <html xmlns="http://www.w3.org/1999/xhtml&quot; >
Line 5: <head>
Line 6: <etag:HTMLPageIconTag runat="server" />
Line 7:
Line 8: <title><asp:ContentPlaceHolder ID="title" runat="server" /></title>


Source File: /CHCR.GUI/CHR/Web/Startup.aspx/MasterPages/CHCRLogin.master Line: 6


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

The ANTS Profiler Log File:

21 Jan 2011 09:31:17.249 [1] INFO RedGate.Profiler.Logging.LogService - Starting new ANTS Performance Profiler 6 session
21 Jan 2011 09:31:17.265 [1] INFO RedGate.Profiler.Logging.LogService - Assembly version: 6.1.0.119
21 Jan 2011 09:31:26.327 [1] WARN RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows XP Professional (5.1 32-bit)
21 Jan 2011 09:31:26.327 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
21 Jan 2011 09:31:26.452 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: True
21 Jan 2011 09:31:26.452 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is running.
21 Jan 2011 09:31:26.452 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is enabled.
21 Jan 2011 09:31:26.452 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Successfully detected IIS installation: IIS 5.1 (Auto-detected)
21 Jan 2011 09:31:26.452 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is installed.
21 Jan 2011 09:31:59.780 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8085
21 Jan 2011 09:32:01.358 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8085
21 Jan 2011 09:32:07.905 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8085
21 Jan 2011 09:42:44.261 [Profiler pipe monitor] WARN RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Pipe has been closed; most likely the process being profiled has terminated.
21 Jan 2011 09:46:43.181 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8085
21 Jan 2011 09:46:44.618 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8085
21 Jan 2011 09:46:47.681 [ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8085

Comments

  • This is a little bit difficult to know what has occurred- will need to check several things.

    Firstly- can you run this within Visual Studio? Profiling tends to work better under webdev than IIS.
Sign In or Register to comment.