Simple Matrix Web Report fails

pinbotpinbot Texas
edited 10:19AM in FastReport .NET


I've created a simple report with a Matrix off of a custom SQL query that returns 3 columns.

I can preview the report in the designer.

When I try to view it in a web browser, I get compilation errors

I've also attached a screen cap of the designer shown from the webreport component.

Bryan







Server Error in '/Admin' Application.

(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: FastReport.Utils.CompilerException: (Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[CompilerException: (Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
(Matrix1): error CS1525: Invalid expression term '['
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1002: ; expected
(Matrix1): error CS1525: Invalid expression term ']'
]
W3gomN0iBZwYLeupLD.NmKDy0OEHwTokwJsId.KqdfELZFu() +2324
W3gomN0iBZwYLeupLD.NmKDy0OEHwTokwJsId.BsUNctEFq() +41
FastReport.Report.jYL9JGkaT() +171
FastReport.Report.Prepare(Boolean append) +258
FastReport.Web.WebReport.kArYLLgdE() +563
FastReport.Web.WebReport.OnLoad(EventArgs e) +109
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627




Version Information: Microsoft .NET Framework Version:2.0.50727.3069; ASP.NET Version:2.0.50727.3069

Comments

  • edited 10:19AM
    Are you using medium trust level in your web application?
  • pinbotpinbot Texas
    edited 10:19AM

    I will check.

    I know I've seens some instructions somwhere on how to set that but if you have them handy.....

  • edited 10:19AM
    See programmer's manual, Working with ASP.NET/Working in the "Medium Trust" mode
  • pinbotpinbot Texas
    edited 10:19AM

    Just wanted to add that this problem was fixed in the latest release of FR.Net.

    FR.NET 1.0.153



    Bryan.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.