Profiling in SharePoint 2010

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

Profiling in SharePoint 2010

Postby ShareOne » Wed Apr 25, 2012 2:27 pm

For profiling in SP 2010 i did al these steps:

http://www.21apps.com/sharepoint/code-profiling-ants/

But now when i click Start Profiling, I don't ssee anything, and left in the bottom i see a status on waiting and nothing happens.
Except a IE browser appears with page not found. Whe I look in IIS the Site of the web application has been stopped. When I start de site again nothing is happening still.

What did I do wrong?
ShareOne
 
Posts: 4
Joined: Wed Apr 25, 2012 2:24 pm

Postby james.billings » Wed Apr 25, 2012 3:23 pm

Thanks for your post- profiling Sharepoint can be a little tricky to get going sometimes as there's a whole host of permissions and configuration hurdles that may cause it to fail.
A good getting started guide is here, and we also have an article detailing troubleshooting steps you can take, here

If you're still having trouble, then we may need logfiles to see if they give any further clues- you can mail these over to support@red-gate.com quoting F0059572 in the subject line.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby ShareOne » Wed Apr 25, 2012 3:39 pm

I did what was told there but the web site opens and it stays empty. When I go to IIS MAnager I see that the web site is stopped.

Here is a link to the screencast of the problem.

http://screencast.com/t/U66JqxqhADR
ShareOne
 
Posts: 4
Joined: Wed Apr 25, 2012 2:24 pm

Postby james.billings » Wed Apr 25, 2012 3:48 pm

Thanks.
So you're telling to profile on the original port; this should stop the site then launch it's own copy. Because it says the port is in use when you try to manually start it, it would appear the profiler site has started but the profiler cannot connect to it.
We'd next need to check the logs - you'll find the option in the help menu.
Please send these over as per my earlier post.

I also noticed you had some other sites listed- does it make any difference if you stop all those first?
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby dene.boulton » Wed Apr 25, 2012 4:08 pm

Users of ANTS PP v6 can also try to make use of this workaround that is outlined here for AMP: http://www.red-gate.com/supportcenter/content/ANTS_Memory_Profiler/knowledgebase/amp_sharepoint_2010

However, this is by no means fool proof.

ANTS PP v7 does have dedicated support for SharePoint 2010.
Dene Boulton
Red Gate
dene.boulton
 
Posts: 53
Joined: Wed Oct 12, 2011 12:44 pm
Location: Cambridge

Postby ShareOne » Thu Apr 26, 2012 7:04 am

I will try version 7
ShareOne
 
Posts: 4
Joined: Wed Apr 25, 2012 2:24 pm

Postby ShareOne » Thu Apr 26, 2012 9:05 am

Version 7 works perfectly, thanks!
ShareOne
 
Posts: 4
Joined: Wed Apr 25, 2012 2:24 pm

Postby dene.boulton » Thu Apr 26, 2012 9:50 am

No problem, glad it solved this for you.
I should of also pointed out that ANTS Memory Profiler 7.4 also supports SharePoint 2010 too.
Dene Boulton
Red Gate
dene.boulton
 
Posts: 53
Joined: Wed Oct 12, 2011 12:44 pm
Location: Cambridge


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: No registered users and 0 guests