No results on IIS6 when some assemblies are in GAC
mikkelchristensen
Posts: 4
Setup: Web service running in IIS6. Some assemblies are located in the bin\ subdirs of the virtual directory, some are in GAC. Where should I put the pdb files? I have tried C:\WINDOWS\system32\inetsrv and the bin dir under the virtual directory but ANTS does not pick up any results at all.
(msg in snapshot view is: "No .NET methods have been profiled", and I am profiling only methods with source code)
It is a debug build, web.config has system.web/compilation/@debug="true".
It would be really nice to be able to specify a (or several) symbols directories from the UI.
(msg in snapshot view is: "No .NET methods have been profiled", and I am profiling only methods with source code)
It is a debug build, web.config has system.web/compilation/@debug="true".
It would be really nice to be able to specify a (or several) symbols directories from the UI.
Comments
What you want to do is locate the 'real' folder that the assembly is stored in in the GAC folder, but good the old fusion.dll shell extension makes it impossible to navigate past %systemroot%\assembly using explorer. So you basically have two options:
- Unregister fusion.dll (regsvr32 /u fusion.dll) and find the folder containing the version of the assembly you have a pdb for and copy the pdb there using Windows Explorer, then re-register fusion (regsvr32 fusion.dll).
-Use the command prompt and try to locate the folder using DOS commands and use the copy command to put the pdb into the appropriate folder.
Once the pdb is there in the same folder as the dll, ANTS Profiler will work the same way with a GAC assembly as one in the local folder.
I also found I needed to unregister shfusion.dll (in C:\Windows\Microsoft.NET\Framework\v1.1.4322) before it took effect...
Cheers,
Rob
Red Gate
Best regards,
Mikkel