Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

My ASP.NET website crashes after new relic agent installation


#1

Hello, my website crashes after New relic agent installation. It works well when I delete the agent again.
Can you help me with this problem? See the stack trace below

Application: w3wp.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: 
Stack:
   at System.Environment.FailFast(System.String)
   at <Module>.‫‏‎‎‏‍‎‭‌‪‭‏‪‍‭‌‫‮‏‍​‌​‭​‭‮(System.String)
   at <Module>.‏‮‍‫‍‎‎‎‫‍​‌‪‫​‬‌‏​‪‫‌‬‎‌​‪‎‮()
   at <Module>..cctor()
   at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
   at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Activator.CreateInstance(System.Type, Boolean)
   at System.Activator.CreateInstance(System.Type)
   at Nop.Core.Infrastructure.NopEngine.RegisterDependencies(Nop.Core.Configuration.NopConfig)
   at Nop.Core.Infrastructure.NopEngine.Initialize(Nop.Core.Configuration.NopConfig)
   at Nop.Core.Infrastructure.EngineContext.Initialize(Boolean)
   at Nop.Web.MvcApplication.Application_Start()
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
   at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
   at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
   at System.Web.HttpApplication.InvokeMethodWithAssert(System.Reflection.MethodInfo, Int32, System.Object, System.EventArgs)
   at System.Web.HttpApplication.ProcessSpecialRequest(System.Web.HttpContext, System.Reflection.MethodInfo, Int32, System.Object, System.EventArgs, System.Web.SessionState.HttpSessionState)
   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(System.Web.HttpContext, System.Web.HttpApplication)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr, System.Web.HttpContext, System.Reflection.MethodInfo[])
   at System.Web.HttpApplication.InitSpecial(System.Web.HttpApplicationState, System.Reflection.MethodInfo[], IntPtr, System.Web.HttpContext)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr, System.Web.HttpContext)
   at System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr, System.Web.HttpContext)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr)

#2

Hello @sergey.isupov,

Sorry to hear about the crash. I’d like to research this issue further.

  • Can you let me know which agent version you’re using, your app’s targeted framework, and are you using DotNetNuke? We have had a case in the past related to DotNetNuke which is why I was wondering.

  • Are you using debug mode?

  • Are there any WARN or ERROR entries in the New Relic logs located at C:\ProgramData\New Relic\.NET Agent\logs?

  • Finally, is this a WPF application?

Thanks!