Error Handling and Debugging Microsoft Dynamics NAV Portal Framework Solutions

Microsoft Dynamics NAV 2013

You might experience errors that prevent Microsoft Dynamics NAV content from displaying in the Microsoft Dynamics NAV SharePoint client. Typically, errors are caused by network connectivity or invalid page design.

Viewing Error Details

In most cases, when an error occurs on the SharePoint site, you see a dialog box that contains a message. For security reasons, Microsoft Dynamics NAV Portal Framework does not relay detailed errors to the client computer. However, all errors related to Microsoft Dynamics NAV Portal Framework are recorded in the event log and in SharePoint log files on the computer that is running Microsoft Dynamics NAV Portal Framework.

To view the event log

  1. On the computer that is running SharePoint Server, choose Start, and then choose Run.

  2. In the Open box, type eventvwr, and then choose the OK button.

To view the SharePoint log files

  1. On the computer that is running SharePoint Server, open the folder that contains the log files. By default, this is the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS folder.

  2. Using a text editor, such as Notepad, open a log file.

Debugging Pages and Sessions

Microsoft Dynamics NAV provides an integrated debugger to help you inspect your code and verify that your application can run as expected. You can identify where errors on pages occur and troubleshoot Microsoft Dynamics NAV Portal Framework sessions. To debug Microsoft Dynamics NAV Portal Framework solutions, you run the debugger in the RoleTailored client. For more information, see Debugging.

See Also

Show: