+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Exception when trying to delete events

Exception when trying to delete events

4 posts, 0 answered
  1. Damon Kelly
    Damon Kelly avatar
    4 posts
    Registered:
    24 Jan 2005
    09 Nov 2012
    Link to this post
    When trying to delete events (in backend and frontend) the webservice returns a fairly generic error.

    Product version: 5.1.3210.0

    Webservice called
     /Sitefinity/Services/Workflow/WorkflowService.svc/MessageWorkflow/33806f04-b5ee-4afa-bd10-38567887fad4/?itemType=Telerik.Sitefinity.Events.Model.Event&providerName=&workflowOperation=Delete

    Result 
    {"Detail":"Exception has been thrown by the target of an invocation."}

    Is there any way to get more details on what is causing the issue?
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    12 Nov 2012
    Link to this post
    Hello Damon,

    You can enable service tracing and recording a trace log as explained in the following KB article:

    http://www.sitefinity.com/devnet/kb/tracing-web-services-exceptions


    After you make the necessary changes to the webconfig file, reproduce the issue and any exceptions will be caught in a log file, saved in the root of the project.

    Additionally you can remove all files in the App_Data/Sitefinity/Logs folder, log in the backend administration and try to remove an event. All exceptions and stack traces will be recorded in a new Error.log file.

    Greetings,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Damon Kelly
    Damon Kelly avatar
    4 posts
    Registered:
    24 Jan 2005
    14 Nov 2012
    Link to this post
    Is there someone I can contact to help deciphering the trace log?
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    16 Nov 2012
    Link to this post
    Hello Damon,

    You can check the following article which describes how to use the Service Trace Viewer app:

    http://weblogs.asp.net/nmarun/archive/2011/06/10/wcf-service-trace-viewer-part-1.aspx


    In a nutshell, the records that are highlighted in red are the actual exceptions, for which a detailed information is displayed in either the XML or Formatted windows. Basically you can see which method is throwing the error in the Formatted window. I have attached a screenshot of how a sample exception trace looks like.

    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered