Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Error saving any page after .Net Framework update and using VS2019 - EPiServer.DataAccess.SaveAction

$
0
0

Error saving any page after .Net Framework update and using VS2019. This error does not happen on our previous version of .Net Framework using VS2019.

Server Error in '/' Application.

The parameters dictionary contains a null entry for parameter 'action' of non-nullable type 'EPiServer.DataAccess.SaveAction' for method 'System.Web.Mvc.ActionResult ChangeStatus(EPiServer.Core.ContentReference, EPiServer.DataAccess.SaveAction)' in 'EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: The parameters dictionary contains a null entry for parameter 'action' of non-nullable type 'EPiServer.DataAccess.SaveAction' for method 'System.Web.Mvc.ActionResult ChangeStatus(EPiServer.Core.ContentReference, EPiServer.DataAccess.SaveAction)' in 'EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

 

[ArgumentException: The parameters dictionary contains a null entry for parameter 'action' of non-nullable type 'EPiServer.DataAccess.SaveAction' for method 'System.Web.Mvc.ActionResult ChangeStatus(EPiServer.Core.ContentReference, EPiServer.DataAccess.SaveAction)' in 'EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.

Parameter name: parameters]

   System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo) +430

   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +111

   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35

   System.Web.Mvc.Async.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39

   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +70

   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42

   System.Web.Mvc.Async.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0() +80

   System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387

   System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387

   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42

   System.Web.Mvc.Async.<>c__DisplayClass3_6.<BeginInvokeAction>b__4() +50

   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult) +188

   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38

   EPiServer.Shell.Services.Rest.RestControllerBase.EndExecute(IAsyncResult asyncResult) +60

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648

   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0


Viewing all articles
Browse latest Browse all 9076

Trending Articles