Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Debugging service framework issues

Return to previous page

  • 4/7/2015
  • 1976 Views

Comments

1976 Views

Debugging service framework issues

Last updated long time ago

Comments

Common

(Enter the content of this article below)

Advanced

 

Background

Whilst DNN is an asp.net webforms application, we make extensive use of WebAPI based service framework to read, write and delete data without requiring a page request. In addition, this is used to return fragments of data rather than having to return all data at once e.g. a filepicker object might return the list of folders, but only return the list of files when a folder is selected.

If code executing within a webform has an exception, the exception is logged in the Event viewer - however if this happens in a service request there are a few other places that can also provide useful debugging information. If you notice a service framework issue in either platform code or your own custom code, it is recommended you do the following:

  • Log in as admin/host and check the Event-viewer|Event viewer]
  • Set log4net to All and see if any additional details are stored in the log4net logfiles.
  • User a HTTP proxy such as fiddler to see the requests - if one has a failing http status (such as 500) then you can inspect what the exception was that was thrown.
Contents
No sections defined
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out