NCover is only profiling a perticular DLL

NCover is only profiling a perticular DLL

NCover is only profiling a DLL in the application when I profile IIS, in our application we have lot of DLLS it is only profiling one DLL, please help me in solving this


RE: NCover is only profiling a perticular DLL

could you post the NCover command line that you are using? also, check the NCover log for lines like: "Failed to load symbols for module " if the is one of the assemblies that you expect coverage on, then the reason that NCover isn't covering the assembly is because NCover couldn't find the PDB file for the assembly.

For NCover to find the PDB file, the PDB file must be from the exact same build as the dll that it is for, and it must be either in the same directory as the dll or in the directory the the dll was originally created in. If NCover still isn't finding the PDB files, then you can usually force the issue by setting the "_NT_SYMBOL PATH" environment variable to the directory where the PDBs are.


RE: NCover is only profiling a perticular DLL

Hi Sporewell,

I followed the instructions sent by you and found that I didnot get any coverage Please find the log details below (0x00000FFC) ERROR(0x80070057) Failed to get the assembly identity from module. (0x00000FFC) ERROR(0x80070057) Failed to get Assembly Identity. (0x00000FFC) MESSAGE: AssemblyLoadStarted ---- Assembly: 0x06960d88; 0x00000025 (0x00000FFC) MESSAGE: ModuleLoadStarted ---- Module: 0x04edb6dc; 0x00000027 (0x00000FFC) MESSAGE: Failed to load symbols for module [] in []. (0x00000FFC) MESSAGE: ModuleLoadFinished ---- Module[]: 0x04edb6dc; 0x00000027 (0x00000FFC) MESSAGE: ModuleAttachedToAssembly ---- Module[]: 0x04edb6dc; 0x00000027 attached To Assembly[]: 0x06960d88; 0x00000025 (0x00000FFC) ERROR(0x80070057) Failed to get the assembly identity from module. (0x00000FFC) ERROR(0x80070057) Failed to get Assembly Identity. (0x00000FFC) MESSAGE: AssemblyLoadStarted ---- Assembly: 0x069864d8; 0x00000026 (0x00000FFC) MESSAGE: ModuleLoadStarted ---- Module: 0x04edc4f8; 0x00000028 (0x00000FFC) MESSAGE: Failed to load symbols for module [] in []. (0x00000FFC) MESSAGE: ModuleLoadFinished ---- Module[]: 0x04edc4f8; 0x00000028 (0x00000FFC) MESSAGE: ModuleAttachedToAssembly ---- Module[]: 0x04edc4f8; 0x00000028 attached To Assembly[]: 0x069864d8; 0x00000026 (0x00000FFC) ERROR(0x80070057) Failed to get the assembly identity from module. (0x00000FFC) ERROR(0x80070057) Failed to get Assembly Identity. (0x00000FFC) MESSAGE: AssemblyLoadStarted ---- Assembly: 0x06985e08; 0x00000027 (0x00000FFC) MESSAGE: ModuleLoadStarted ---- Module: 0x04edd178; 0x00000029 (0x00000FFC) MESSAGE: Failed to load symbols for module [] in []. (0x00000FFC) MESSAGE: ModuleLoadFinished ---- Module[]: 0x04edd178; 0x00000029 (0x00000FFC) MESSAGE: ModuleAttachedToAssembly ---- Module[]: 0x04edd178; 0x00000029 attached To Assembly[]: 0x06985e08; 0x00000027 (0x00000FFC) ERROR(0x80070057) Failed to get the assembly identity from module. (0x00000FFC) ERROR(0x80070057) Failed to get Assembly Identity. (0x00000FFC) MESSAGE: AppDomainShutdownStarted ---- AppDomain[/LM/W3svc/1/Root/CMSV4-1-128823477976319558]: 0x0010da98; 0x00000004 (0x00000FFC) MESSAGE: AssemblyUnloadStarted ---- Assembly[AHSDPS]: 0x0012db60; 0x00000007 (0x00000FFC) MESSAGE: ModuleUnloadStarted ---- Module[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmsv4\96d4f787\609704dc\assembly\dl3\9d9123fa\00fe3d22_f4aac901\AHSDPS.DLL]: 0x025654a4; 0x00000009 (0x00000FFC) MESSAGE: AssemblyUnloadStarted ---- Assembly[Interop.MSXML2]: 0x0013b9c0; 0x0000000b (0x00000FFC) MESSAGE: ModuleUnloadStarted ---- Module[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmsv4\96d4f787\609704dc\assembly\dl3\0c2788cf\00a8f959_c551c801\Interop.MSXML2.DLL]: 0x02567600; 0x0000000d (0x00000FFC) MESSAGE: AssemblyUnloadStarted ---- Assembly[Interop.AhsCompressionEngineLib]: 0x001255d0; 0x0000000c (0x00000FFC) MESSAGE: ModuleUnloadStarted ---- Module[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmsv4\96d4f787\609704dc\assembly\dl3\28fe446d\0059b2c9_1951c801\Interop.AhsCompressionEngineLib.DLL]: 0x025680d8; 0x0000000e (0x00000FFC) MESSAGE: AssemblyUnloadStarted ---- Assembly[Interop.TWEncryptLib]: 0x000efcf8; 0x0000000d (0x00000FFC) MESSAGE: ModuleUnloadStarted ---- Module[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmsv4\96d4f787\609704dc\assembly\dl3\d36aed6e\00dfb68e_ea58c801\Interop.TWEncryptLib.DLL]: 0x02568500; 0x0000000f (0x00000FFC) MESSAGE: AssemblyUnloadStarted ---- Assembly[Interop.VOEKEYLib]: 0x00141870; 0x0000000f Please do the needfull

Thanks, Prashanth


RE: NCover is only profiling a perticular DLL

are you covering a .NET 1.1 application?


RE: NCover is only profiling a perticular DLL

or using mocks?