ANTS Crashing ASPNET Dev IIS Server on Profiler Launch
madmunki
Posts: 3
When I start ANTS with Performance Profiler, it crashes the Web Server.
OS: Windows 7, 64x
Error Displayed:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: webdev.webserver40.exe
Problem Signature 02: 10.0.40219.1
Problem Signature 03: 4d5f345a
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.17626
Problem Signature 06: 4f9f0f5d
Problem Signature 07: 269a
Problem Signature 08: 0
Problem Signature 09: System.AccessViolationException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 029f
Additional Information 2: 029f6e7c4db821d44d2fcba709b6d187
Additional Information 3: bd6c
Additional Information 4: bd6c3ebca020de55ca9d15222b028fef
Error 1 in Event Viewer:
Faulting application name: WebDev.WebServer40.exe, version: 10.0.40219.1, time stamp: 0x4d5f345a
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x718
Faulting application start time: 0x01cd6378c9614742
Faulting application path: C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 0af20861-cf6c-11e1-ba25-005056c00008
Error 2 in Event Viewer:
Application: WebDev.WebServer40.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.<GetAssembliesForAppLevel>b__a(AssemblyInfo ai)
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Enumerable.<UnionIterator>d__88`1.MoveNext()
at System.Linq.Enumerable.<DistinctIterator>d__81`1.MoveNext()
at System.Web.UI.Util.GetTypeFromAssemblies(IEnumerable assemblies, String typeName, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Profile.ProfileBase.AddProfilePropertySettingsForCompilation(ProfilePropertySettingsCollection propertyCollection, Hashtable ht, String groupName)
at System.Web.Profile.ProfileBase.GetPropertiesForCompilation()
at System.Web.Compilation.ProfileBuildProvider.get_HasCompilableProfile()
at System.Web.Compilation.ProfileBuildProvider.GetProfileTypeFromAssembly(Assembly assembly, Boolean isPrecompiledApp)
at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
at System.Web.Compilation.BuildManager.CompileCodeDirectories()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.HostingEnvironment.Initialize(System.Web.Hosting.ApplicationManager, System.Web.Hosting.IApplicationHost, System.Web.Configuration.IConfigMapPathFactory, System.Web.Hosting.HostingEnvironmentParameters, System.Security.Policy.PolicyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.CreateObjectInternal(System.String, System.Type, System.Web.Hosting.IApplicationHost, Boolean, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.CreateObject(System.String, System.Type, System.String, System.String, Boolean, Boolean)
at System.Web.Hosting.ApplicationManager.CreateObject(System.String, System.Type, System.String, System.String, Boolean)
at Microsoft.VisualStudio.WebHost.Server.GetHost()
at Microsoft.VisualStudio.WebHost.Server.OnSocketAccept(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
OS: Windows 7, 64x
Error Displayed:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: webdev.webserver40.exe
Problem Signature 02: 10.0.40219.1
Problem Signature 03: 4d5f345a
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.17626
Problem Signature 06: 4f9f0f5d
Problem Signature 07: 269a
Problem Signature 08: 0
Problem Signature 09: System.AccessViolationException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 029f
Additional Information 2: 029f6e7c4db821d44d2fcba709b6d187
Additional Information 3: bd6c
Additional Information 4: bd6c3ebca020de55ca9d15222b028fef
Error 1 in Event Viewer:
Faulting application name: WebDev.WebServer40.exe, version: 10.0.40219.1, time stamp: 0x4d5f345a
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x718
Faulting application start time: 0x01cd6378c9614742
Faulting application path: C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 0af20861-cf6c-11e1-ba25-005056c00008
Error 2 in Event Viewer:
Application: WebDev.WebServer40.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.<GetAssembliesForAppLevel>b__a(AssemblyInfo ai)
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Enumerable.<UnionIterator>d__88`1.MoveNext()
at System.Linq.Enumerable.<DistinctIterator>d__81`1.MoveNext()
at System.Web.UI.Util.GetTypeFromAssemblies(IEnumerable assemblies, String typeName, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Profile.ProfileBase.AddProfilePropertySettingsForCompilation(ProfilePropertySettingsCollection propertyCollection, Hashtable ht, String groupName)
at System.Web.Profile.ProfileBase.GetPropertiesForCompilation()
at System.Web.Compilation.ProfileBuildProvider.get_HasCompilableProfile()
at System.Web.Compilation.ProfileBuildProvider.GetProfileTypeFromAssembly(Assembly assembly, Boolean isPrecompiledApp)
at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
at System.Web.Compilation.BuildManager.CompileCodeDirectories()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.HostingEnvironment.Initialize(System.Web.Hosting.ApplicationManager, System.Web.Hosting.IApplicationHost, System.Web.Configuration.IConfigMapPathFactory, System.Web.Hosting.HostingEnvironmentParameters, System.Security.Policy.PolicyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.CreateObjectInternal(System.String, System.Type, System.Web.Hosting.IApplicationHost, Boolean, System.Web.Hosting.HostingEnvironmentParameters)
at System.Web.Hosting.ApplicationManager.CreateObject(System.String, System.Type, System.String, System.String, Boolean, Boolean)
at System.Web.Hosting.ApplicationManager.CreateObject(System.String, System.Type, System.String, System.String, Boolean)
at Microsoft.VisualStudio.WebHost.Server.GetHost()
at Microsoft.VisualStudio.WebHost.Server.OnSocketAccept(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Comments
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Launching from VS2010, VS2012, or stand-alone, as soon as the profiler launches ASP.NET web development server starts and IE is displayed the web server crashes.
I have tried running Visual Studio and ANTS as an administrator and the problem remains.
@doyle_am: In your case, this is probably due to the fact that ANTS Performance Profiler 7.3 does not support Visual Studio 2012. If you have already installed VS2012, ANTS Performance Profiler will attempt to use the VS2012 version of the WebDev server, even if you launch the profiler from VS2010.
I'm pleased to say that ANTS Performance Profiler 7.4 will support VS2012, and so this issue is fixed. Version 7.4 is due for release in the coming weeks but if you'd like a private build (untested), please PM me and I'll send you a link.
Dom
Project Manager,
Redgate.
If you are affected by this problem, you can upgrade your copy of the Profiler:
On the Help menu, click Check for Updates...
Project Manager,
Redgate.
However when I run the Performance Analyzer it launches the correct version of the web server, and does not crash. Only Memory Analyzer is crashing for me.
I'm on windows 7 64, visual studio 2012.
Sorry for the delay in replying while I was on vacation last week.
If I understand your comments correctly, your problem is with ANTS Memory Profiler 7.4, not ANTS Performance Profiler. I'm afraid the Memory Profiler doesn't currently support Silverlight 5, and there's also a known bug where (as you say), the add-in in Visual Studio 2012 launches the wrong version of the Web Development server.
Both of these issues were fixed in the recently-released ANTS Performance Profiler 8.0 and we'll endevor to get these fixes into the earliest betas of ANTS Memory Profiler 8.0 once we open that beta program shortly.
Project Manager,
Redgate.