CuteEditor error: TargetInvocationException Exception has been thrown by the target of an invocation.

Last post 10-18-2011, 9:15 AM by vrusu. 4 replies.
Sort Posts: Previous Next
  •  10-17-2011, 4:17 AM 70414

    CuteEditor error: TargetInvocationException Exception has been thrown by the target of an invocation.

    Hi,
     
    I have received the following error when trying to save a large amount of html:
     
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method) at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) at System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) at System.Web.UI.WebControls.DetailsView.HandleUpdate(String commandArg, Boolean causesValidation) at System.Web.UI.WebControls.DetailsView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.WebControls.DetailsView.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.DetailsViewRow.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I'm getting this error only on production environment, I could not reproduce it on test environments. Can anybody help me with this? 
  •  10-17-2011, 7:17 AM 70416 in reply to 70414

    Re: CuteEditor error: TargetInvocationException Exception has been thrown by the target of an invocation.

    Hi vrusu,
     
    Please refer to the threads below, it should help.
     
    http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=25993
     
    http://www.nikmakris.com/blog/post/TargetInvocationException-Exception-has-been-thrown-by-the-target-of-an-invocation.aspx
     
    Regards,
     
    Ken
  •  10-17-2011, 8:38 AM 70424 in reply to 70416

    Re: CuteEditor error: TargetInvocationException Exception has been thrown by the target of an invocation.

    Both threads refer to a database permissions, which in my case is not. I can save small amount of characters but not a large amount. Any other help would be appreciated. 
  •  10-18-2011, 8:35 AM 70447 in reply to 70414

    Re: CuteEditor error: TargetInvocationException Exception has been thrown by the target of an invocation.

    Hi,
     
    Please add this code to your page or control
     


     protected override void OnLoad(EventArgs e)
     {
      base.OnLoad(e);

      Page.Error += delegate
      {
       Response.ContentType = "text/plain";
       Response.Write(this.Context.Error);
       Response.End();
      };
     }
     
     
    You can get the inner exception details,
     
    Please try to find the inner reason , or post the new details here.
     
    Regards,
    Terry
     
  •  10-18-2011, 9:15 AM 70454 in reply to 70447

    Re: CuteEditor error: TargetInvocationException Exception has been thrown by the target of an invocation.

    Hi,
     
    It seems to be a database issue. Thank you for the support.
      
View as RSS news feed in XML