Troubleshoot WebFigures

Use the following section to diagnose error conditions encountered when implementing WebFigures for the .NET feature.

In WebFigures, there are two ways to display errors: by turning debug on for the site, and by turning it off. When debug is turned on, some error messages contain links to HTML pages that describe how the problem might be solved. When it is turned off, only the error message is shown.

Common causes of errors include:

  • MATLAB® Runtime is not installed or is the wrong version (meaning MWArray.dll is the wrong version or WebFigureService.dll is the wrong version).

  • Deployed component is a different version than that compatible with the MATLAB Runtime.

  • Incorrect framework is being used (only .NET 2.0 Framework is supported as of R2008b for WebFigures).

  • WebFigureService is not installed. See Manually Installing WebFigureService.

  • WebFigure is not attached to WebFigureService. See Attaching a WebFigure.

  • Remote root URL is pointing to an invalid server.

Common errors and their diagnosis follow.

ErrorDiagnosis

Issue Displaying Image. Please Refresh.

Most often, this message is generated when the session state has expired and the WebFigure has been deleted. Refreshing the session will reestablish the WebFigure in cache and the figure will reappear.

No WebFigure Can Be Found with the Name Specified

The WebFigure isn’t attached correctly. See Attaching a WebFigure.

WebFigureService Has Encountered an Unrecoverable Error

A critical error has occurred but the exact cause is unknown. Typically this is due to some type of system configuration issue that could not be anticipated.

WebFigureService Not Functioning

The WebFigureService httpHanderFactory could not be found on the server specified. See Manually Installing WebFigureService.

Could not find a part of the path pathname

The logging environment variable is set to a folder that does not exist.

Was this topic helpful?