question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AuditingHelper Issue After upgrading to Abp 0.11.0

See original GitHub issue

Please include your Abp version, exception message and stack trace in bug/problem reports.

I got the below issue after upgrading the ABP while hitting /api/AbpServiceProxies/GetAll?type=angular

ABP V0.11.0

Exception

`Abp.WebApi.ExceptionHandling.AbpApiExceptionFilterAttribute Method not found: 'Boolean Abp.Auditing.AuditingHelper.ShouldSaveAudit(System.Reflection.MethodInfo, Abp.Auditing.IAuditingConfiguration, Abp.Runtime.Session.IAbpSession, Boolean)'. 
System.MissingMethodException: Method not found: 'Boolean Abp.Auditing.AuditingHelper.ShouldSaveAudit(System.Reflection.MethodInfo, Abp.Auditing.IAuditingConfiguration, Abp.Runtime.Session.IAbpSession, Boolean).
`

Stack Trace

`
 at Abp.WebApi.Auditing.AbpApiAuditFilter.ShouldSaveAudit(HttpActionContext filterContext)
   at Abp.WebApi.Auditing.AbpApiAuditFilter.<ExecuteActionFilterAsync>d__25.MoveNext() in D:\src\aspnetboilerplate\src\Abp.Web.Api\WebApi\Auditing\AbpApiAuditFilter.cs:line 57
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
ERROR 2016-08-24 13:38:04,197 [96   ] Abp.WebApi.ExceptionHandling.AbpApiExceptionFilterAttribute Method not found: 'Boolean Abp.Auditing.AuditingHelper.ShouldSaveAudit(System.Reflection.MethodInfo, Abp.Auditing.IAuditingConfiguration, Abp.Runtime.Session.IAbpSession, Boolean)'. 
System.MissingMethodException: Method not found: 'Boolean Abp.Auditing.AuditingHelper.ShouldSaveAudit(System.Reflection.MethodInfo, Abp.Auditing.IAuditingConfiguration, Abp.Runtime.Session.IAbpSession, Boolean)'.
   at Abp.WebApi.Auditing.AbpApiAuditFilter.ShouldSaveAudit(HttpActionContext filterContext)
   at Abp.WebApi.Auditing.AbpApiAuditFilter.<ExecuteActionFilterAsync>d__25.MoveNext() in D:\src\aspnetboilerplate\src\Abp.Web.Api\WebApi\Auditing\AbpApiAuditFilter.cs:line 57
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
`

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jaq316commented, Aug 24, 2016

I’m also experiencing the same issue. Have verified that all Abp.* packages have been updated to latest version by running get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package

0reactions
iyhammadcommented, Aug 25, 2016

Yes, It’s my fault. Abp.Web.Api Package was old and once updated, the issue is resolved. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting an error while Upgrading abp version 7.4.0 to 8.1.0
I'm currently using aspnetboilerplate template aspnet mvc5x(angularjs). I getting this error message while upgrading to abp version 8.1.0.
Read more >
Getting Error After Upgrading a new version of Abp ...
Exception message and stack trace: Steps to reproduce the issue:". After running "abp update", I build my project and i get many errors:...
Read more >
ABP version update using NuGet package manager
I would like to update to the latest version of ABP, which is version 3.5.0. But when I update, I get error: Could...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found