ActiveReports for .NET 3 Online Help Request technical support
HTML Export Troubleshooting
User Guide > Troubleshooting > Troubleshooting Exports > HTML Export Troubleshooting

Glossary Item Box

Symptoms: The "Specified Cast Is Not Valid" exception fires.

Cause: There is a mix of old and new dlls in the references.

Solution:

  1. Remove all ActiveReports for .NET 3.0 references from the project.
  2. Add the ActiveReports for .NET 3.0 references necessary to your project, making sure to use only references to assemblies from the latest build installed on your machine.

Symptoms: The exported HTML file does not look exactly like the original report.

Cause: The HTML export is not WYSIWYG. It does not support the following items:

Solution: Try to avoid using the above items in reports which will be exported to HTML.


Symptoms: Internet Explorer displays "Invalid syntax error" on the title bar, "The page cannot be displayed" in the body and the url is prepended with "mhtml:" in the address bar.

Cause: This is caused by Microsoft Hotfix Q330994. Microsoft addressed an Outlook security flaw that used the MHT extension and broke the streaming HTML functionality.

Solution: Append the 'mht' extension to the file when you link to it. For example,

SortSample.aspx?RunReport=true

Would be changed to the following.

SortSample.aspx?RunReport=true f=temp.mht

©2009. All Rights Reserved.