Profiling SharePoint - PDB's not being loaded
DaveyM
Posts: 2
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
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
Comments
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.
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!