Exception when trying to delete events

Posted by Community Admin on 04-Aug-2018 20:14

Exception when trying to delete events

All Replies

Posted by Community Admin on 09-Nov-2012 00:00

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?

Posted by Community Admin on 12-Nov-2012 00:00

Hello Damon,

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

www.sitefinity.com/.../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

Posted by Community Admin on 14-Nov-2012 00:00

Is there someone I can contact to help deciphering the trace log?

Posted by Community Admin on 16-Nov-2012 00:00

Hello Damon,

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

weblogs.asp.net/.../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

This thread is closed