Navigation:  FAQ > General Questions >

Error Messages

Previous pageReturn to chapter overviewNext page

What means the error "Expression too long or too complex" when generating the ePaper from WebOffice_

 

In the desktop the ePaper is generated without any problem. When accessing the ePaper template from WebOffice an error code appears, that refers to following error in the log file:

Source: SynerGIS.ePaper.Shared.ArcGIS

Message: ePaper could not be created: error CS1647: An expression is too long or too complex to compile near the Reports.Bericht.InitializeComponent().

….

The error "Expression too long or too complex" refers to the fact that the ePaper Template is too large and cannot be compiled. The .Net framework has limitations and casts this error when compiling. This occurs often when very large images are inserted directly into the ePaper template.

Large images should not be inserted directly into the ePaper template. The GeoOffice ePaper designer offers beside the possibility of embedding images directly into the template also following alternatives:

load from path

load from URL-Link

load from database

The advantage of these three alternatives is that the image will not be loaded as a string into the template, but will be loaded only during the runtime. This accelerates the generation of the ePaper