Comments
2 comments
-
Hi Stephane,
Have you tried just installing ANTS Profiler again and uninstalling it?
Maybe the uninstall didn't work correctly. In particular, do you still have the ANTS Profiler service installed? You can check for that in Control Panel->Administrative Tools->Services. -
Can you try checking your registry to see if the environment variable COR_PROFILER is enabled for the ASPNET user?
First, try checking the default environment settings using regedit in HKEY_USERS\.Default\Environment to see if COR_PROFILER is set.
Next, check to see if the ASPNET account has its' own environment settings. I don't think it will unless it's logged in interactively. To check this, you'd need the ASPNET account's SID, which you can get by saving the following VB code to a file and running with cscript.exe:'VBScript to Enumerate Accounts, and SID On Error Resume Next if Err <> 0 Then set lasterr = CreateObject("WbemScripting.SWbemLastError") Wscript.echo lasterr.Operation End if 'Get the local machine name set WshShell = WScript.CreateObject("WScript.Shell") SET WshEnv=WshShell.Environment("PROCESS") Dim Machinename Machinename=WshEnv("COMPUTERNAME") set objWMIService = GetObject("Winmgmts:\\" & Machinename) set colAccounts = objWMIService.InstancesOf("win32_Account") For each objAccount In colAccounts If objAccount.name="ASPNET" AND objAccount.Domain=Machinename Then WScript.echo "Name " & objAccount.name & vbCRLf & _ "SID : " & objAccount.SID & vbcrlf & _ "Sid Type : " & objAccount.SIDType & vbcrlf & _ "Status : " & objAccount.Status & vbcrlf & _ "Domain : " & objAccount.Domain & vbcrlf & _ "Caption : " & objAccount.Caption End if Next WScript.quit
Check HKEY_USERS\<SID>\Environment and see if COR_PROFILER appears in there.
Add comment
Please sign in to leave a comment.
I'd say it's more than likely that it has something to do with the profiler core component. This should only be called, however, if ANTS Profiler has enabled profiling for the application.
If the last thing that you had profiled was a web service or web application, can you try stopping and starting IISADMIN using the IISRESET command from the console?
Otherwise, I think it could be that ANTS Profiler has somehow interfered with another vendor's profiler (such as DevPartner's), so it might help to uninstall and reinstall their software.