Profiling SharePoint - PDB's not being loaded

Code profiling for .NET Developers

Moderators: StephenC, Alex.Davies, AndrewH

Profiling SharePoint - PDB's not being loaded

Postby DaveyM » Mon Aug 17, 2009 1:53 pm

Hi,

I'm trying to profile a SharePoint installation. I've followed the instructions as per the guide found here:

http://www.red-gate.com/support/Knowled ... ePoint.pdf

I have the PDB files and they are placed in the app_bin as per instructions. Unfortunately I don't see the source when I profile. I've additionally placed these PDB files in the both the BIN & GAC to determine if that will resolve the issue... unfortunately no such luck.

Am I missing something?

Thanks

Davey
DaveyM
 
Posts: 1
Joined: Mon Aug 17, 2009 1:50 pm

Postby Chris.Allen » Tue Aug 18, 2009 3:31 pm

I'm having the same problem - and I work in support :)

See if this tactic works for you;

http://www.red-gate.com/supportcenter/C ... 000270.htm

make sure the files have read permission for the account that the app pool is running under (NETWORK SERVICE) by default.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby Chris.Allen » Fri Sep 11, 2009 5:16 pm

We have a solution to the pdb file problem:

1. Register the dll with gacutil (gacutil -i <name.dll>) (remove the existing one from GAC first if necessary)
2. Find the registered dll in GAC and copy manually the pdb file there to the same directory (for example, one of my files ended up here: C:\\WINDOWS\\assembly\\GAC_MSIL\\XlMortgageCalc\\1.0.0.0__36608c460dc74a10)
Then the source files should be visible in performance profiler.

A colleague and I have tried to prove that it works (on Win 2003 x86, at least). Hope this helps!
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Performance Profiler 5

Who is online

Users browsing this forum: No registered users and 0 guests