NP .NET Profiler is designed to assist in troubleshooting performance, memory and first chance exception issues in .NET Applications. You can download the tool from here .
If you are running x86 process on x64-bit machine, please use x86 profiler. If the IIS AppPool is configured to run 32-bit web applications, please use x86 profiler
Here are common causes :
.NET CLR Runtime failed to create the COM object, make sure the profiler is running under admin privileges
Use x86 profiler for 32-bit process running on 64-bit machine
Make sure IIS AppPool user account has write access to the output folder.
Make sure at least one request is submitted.
Make sure the application is closed before reading the output files
Use x64-bit profiler to read large log files captured using x86-bit profiler
Make sure there is enough free hard disk space
Make sure the namespace settings during collection is correct, *.* is not a valid namespace option
Extract the NP_x64.zip file to local storage resource directory. It is usually C:\Resources\directory\f335471d5a5845aaa4e66d0359e69066.MyService_WebRole.localStoreOne\ , where the GUID like number is deployment ID and rest is the role name. Azure worker processes will have read/write access to this folder.
If NP.exe is executed from other locations, you may get following error in the event log
:.NET Runtime version 4.0.30319.551 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{594203B3-BF17-4261-B362-F28A68185A0D}'. HRESULT: 0x80070005. Process ID (decimal): 3492. Message ID: [0x2504].
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.