How can we help you today? How can we help you today?
Chris.Allen
Hot off the press! We think we know what causes the crash now and have made a private build. I'll email it to anyone who emails support with their ANTS log file (will email you soon Doug). / comments
Hot off the press! We think we know what causes the crash now and have made a private build. I'll email it to anyone who emails support with their ANTS log file (will email you soon Doug).
0 votes
I echo Brian's statement- best thing to do is obtain a mini-dump so we can get the full stack trace at the time of teh crash and we'll analyse it using our debug symbols. Please mail: support@red-gate.com Thank you. / comments
I echo Brian's statement- best thing to do is obtain a mini-dump so we can get the full stack trace at the time of teh crash and we'll analyse it using our debug symbols. Please mail: support@red-g...
0 votes
Did you by any chance ever install "YourKit"? That program does cause conflict with ANTS- especially regarding environment variables. 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: Code: '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. When we need to profile services (such as IIS), we usually edit the service environment to contain the variables necessary to hook ANTS in. We added some code in a recent version that also changes the permissions on the temp directory to allow the UI and the service to read and write the same files (which is required for profiling), which has caused some issues for some people. For IIS 5 we change the variables for the user that ASP.NET is running as, due to the different way it starts up. It's usually not critical when the variables get left behind, as the core will disable itself if it's loaded into an application that doesn't need to be profiled. When the Core DLL is installed, we register it with COM+, and we unregister it when the profiler is uninstalled. Apart from that we don't make any changes to the system that could become permanent: for plain old desktop apps there's no need to change the registry to get the profiler to load in. / comments
Did you by any chance ever install "YourKit"? That program does cause conflict with ANTS- especially regarding environment variables. Can you try checking your registry to see if the environment va...
0 votes