Red Gate forums :: View topic - How to Profile with Custom Controls
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

How to Profile with Custom Controls

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ljenner



Joined: 21 Jan 2011
Posts: 1

PostPosted: Fri Jan 21, 2011 12:18 am    Post subject: How to Profile with Custom Controls Reply with quote

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" >
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
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 546

PostPosted: Fri Jan 21, 2011 1:07 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group