none
App Instrumented w/ AI suddenly throwing a 'Method not found' exception

    Question

  • Out of the blue, an app we have instrumented w/ AI started throwing an exception when attempting to connect to our DB. We can't seem to identify why. Any ideas? Below is the YSOD details we're seeing.

    Method not found: 'System.Object System.Diagnostics.DebuggerHiddenAttribute.ApplicationInsights_OnBegin(Int32, System.Object, System.Object, System.Object)'.

    [MissingMethodException: Method not found: 'System.Object System.Diagnostics.DebuggerHiddenAttribute.ApplicationInsights_OnBegin(Int32, System.Object, System.Object, System.Object)'.]
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +0
       System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +37
       System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +12
       Glimpse.Ado.AlternateType.GlimpseDbCommand.ExecuteDbDataReader(CommandBehavior behavior) +225
       System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +12
       System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<Reader>b__c(DbCommand t, DbCommandInterceptionContext`1 c) +14
       System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) +72
       System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) +355
       System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) +166
       System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +12
       System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +36
    
    [EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details.]
       System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +111
       System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute(ObjectContext context, ObjectParameterCollection parameterValues) +740
       System.Data.Entity.Core.Objects.<>c__DisplayClass7.<GetResults>b__6() +97
       System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +288
       System.Data.Entity.Core.Objects.<>c__DisplayClass7.<GetResults>b__5() +154
       System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +190
       System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +279
       System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0() +16
       System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() +45
       System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +183
       System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1(IEnumerable`1 sequence) +40
       System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable`1 query, Expression queryRoot) +60
       System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +113
       System.Data.Entity.Internal.Linq.DbQueryProvider.Execute(Expression expression) +113
       System.Linq.Queryable.FirstOrDefault(IQueryable`1 source) +211
       ShiftDigital.Reach.Core.Auth.UserStore`1.FindByNameAsync(String userName) in C:\shiftdigitalgit\Fiat - Europe (Git)\Reach3-Main\Reach.Core\Auth\UserStore.cs:120
       Microsoft.AspNet.Identity.UserManager`2.FindByNameAsync(String userName) +56
       Microsoft.AspNet.Identity.<>c__DisplayClassa`2.<FindByName>b__9() +20
       System.Threading.Tasks.Task`1.InnerInvoke() +56
       System.Threading.Tasks.Task.Execute() +61
       System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +135
       System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +64
       Microsoft.AspNet.Identity.AsyncHelper.RunSync(Func`1 func) +137
       Microsoft.AspNet.Identity.UserManagerExtensions.FindByName(UserManager`2 manager, String userName) +157
       ShiftDigital.Reach.Core.Auth.UserManager.Create(IdentityFactoryOptions`1 options, IOwinContext context) in C:\shiftdigitalgit\Fiat - Europe (Git)\Reach3-Main\Reach.Core\Auth\UserManager.cs:24
       Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1.Create(IdentityFactoryOptions`1 options, IOwinContext context) +19
       Microsoft.AspNet.Identity.Owin.<Invoke>d__0.MoveNext() +104
       Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +70
       Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +64
       System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +484
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +157



    Blades Don't Need Reloading...

    Friday, September 16, 2016 2:00 PM

Answers

All replies