Troubleshooting Project Build Issues

Following are issues that may occur when building projects with Flare.

Access to temp directory error

When building a Flare project, the following error appears:

Internal error: Access to the temp directory is denied. Identity under which XMLSerializer is running does not have sufficient permission to access the temp directory

Cause

This error is a result of Flare not being able to write to a temporary file or directory.

Solution

Following are several solutions that can fix the problem.

Internal error: surrogate pair is invalid

When attempting to build a web target, Flare displays the following error message:

Internal error: The surrogate pair (0xDBC0, OxDBC0) is invlaid. A high surrogate character (0xD800 - 0xDBFF) must always be paired with a low surrogate character (0xDC00 - 0xDFFF)

Cause

Byte Order Mark (BOM) is required for certain characters to be read. The error occurs because the registry has not turned on the BOM for the compiler when the project is being built.

Solution

Turn on BOM using the Options dialog. This will enable BOM in your registry.

  1. Select File > Options. The Options dialog opens.
  2. Select the Build tab.
  3. Click Enable byte order mark to add a check mark.

  4. Click OK.

System out of memory error

Flare displays the following error when building a project.

Internal Error: Exception of type 'System.OutOfMemoryException' was thrown

Cause

This is caused because Flare has run out of allocated memory.

Solution

Do one of the following.