Save report Error & Adding Total Error.
Posted: Fri Jun 14, 2013 5:37 am
Hi There
I'm using Stimulsoft WebDesign in my ASP.NET, to create reports using my custom dictionary during runtime. If works fine most of the time. I've 2 problems
1. When I add sorting, it refuse to save, It doesn't come back to my code behind, where I'm code to save the MRT. It gives me following error with an alert - "Error at Saving, Server Doesn't respond". When I remove the sorting, it comes back to my code behind and I can save it fine. I've attach the event log error below.
2. When I add totals like "Count", when I run the report it give me an error -
"Error generating report : c:\WINDOWS\Temp\qgznqcpb.0.cs(779,18) : error CS0117: 'Reports.Report' does not contain a definition for 'Users_EmploymentType'c:\WINDOWS\Temp\qgznqcpb.0.cs(780,18) : error CS0117: 'Reports.Report' does not contain a definition for 'Users_EmploymentType'c:\WINDOWS\Temp\qgznqcpb.0.cs(781,18) : error CS0117: 'Reports.Report' does not contain a definition for 'Users_EmploymentType'
Thanks
Kishor
Version - Stimulsoft.Report.WebDesign.dll - 2011.3.1200.0
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/13/2013 9:07:12 PM
Event time (UTC): 6/14/2013 4:07:12 AM
Event ID: 1763b6557a9e4ca0a888e053f4faa02b
Event sequence: 89
Event occurrence: 7
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/LSGLM-1-130156559665724102
Trust level: Full
Application Virtual Path: /LSGLM
Application Path: C:\inetpub\wwwroot\LSGLM\
Machine name: KAALIEN-LP
Process information:
Process ID: 5096
Process name: w3wp.exe
Account name: IIS APPPOOL\Classic .NET AppPool
Exception information:
Exception type: InvalidCastException
Exception message: Unable to cast object of type 'System.String' to type 'Stimulsoft.Report.Components.StiComponent'.
Request information:
Request URL: http://localhost/XXXX/XXXXXXX/ReportDes ... da3a857293
Request path: /LSGLM/MasterPage/ReportDesigner.aspx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\Classic .NET AppPool
Thread information:
Thread ID: 11
Thread account name: IIS APPPOOL\Classic .NET AppPool
Is impersonating: False
Stack trace: at Stimulsoft.Report.Components.StiComponentsCollection.AddRange(StiComponentsCollection components)
at Stimulsoft.Report.Components.StiContainer.GetComponents()
at Stimulsoft.Report.SaveLoad.StiXmlReportSLService.Load(StiReport report, Stream stream)
at Stimulsoft.Report.StiReport.Load(StiReportSLService service, Stream stream)
at Stimulsoft.Report.StiReport.Load(Stream stream)
at Stimulsoft.Report.StiReport.LoadFromString(String reportStr)
at Stimulsoft.Report.Web.StiWebDesigner.LoadReportFromString(String reportString, Boolean packed, Boolean regData)
at Stimulsoft.Report.Web.StiWebDesigner.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I'm using Stimulsoft WebDesign in my ASP.NET, to create reports using my custom dictionary during runtime. If works fine most of the time. I've 2 problems
1. When I add sorting, it refuse to save, It doesn't come back to my code behind, where I'm code to save the MRT. It gives me following error with an alert - "Error at Saving, Server Doesn't respond". When I remove the sorting, it comes back to my code behind and I can save it fine. I've attach the event log error below.
2. When I add totals like "Count", when I run the report it give me an error -
"Error generating report : c:\WINDOWS\Temp\qgznqcpb.0.cs(779,18) : error CS0117: 'Reports.Report' does not contain a definition for 'Users_EmploymentType'c:\WINDOWS\Temp\qgznqcpb.0.cs(780,18) : error CS0117: 'Reports.Report' does not contain a definition for 'Users_EmploymentType'c:\WINDOWS\Temp\qgznqcpb.0.cs(781,18) : error CS0117: 'Reports.Report' does not contain a definition for 'Users_EmploymentType'
Thanks
Kishor
Version - Stimulsoft.Report.WebDesign.dll - 2011.3.1200.0
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/13/2013 9:07:12 PM
Event time (UTC): 6/14/2013 4:07:12 AM
Event ID: 1763b6557a9e4ca0a888e053f4faa02b
Event sequence: 89
Event occurrence: 7
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/LSGLM-1-130156559665724102
Trust level: Full
Application Virtual Path: /LSGLM
Application Path: C:\inetpub\wwwroot\LSGLM\
Machine name: KAALIEN-LP
Process information:
Process ID: 5096
Process name: w3wp.exe
Account name: IIS APPPOOL\Classic .NET AppPool
Exception information:
Exception type: InvalidCastException
Exception message: Unable to cast object of type 'System.String' to type 'Stimulsoft.Report.Components.StiComponent'.
Request information:
Request URL: http://localhost/XXXX/XXXXXXX/ReportDes ... da3a857293
Request path: /LSGLM/MasterPage/ReportDesigner.aspx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\Classic .NET AppPool
Thread information:
Thread ID: 11
Thread account name: IIS APPPOOL\Classic .NET AppPool
Is impersonating: False
Stack trace: at Stimulsoft.Report.Components.StiComponentsCollection.AddRange(StiComponentsCollection components)
at Stimulsoft.Report.Components.StiContainer.GetComponents()
at Stimulsoft.Report.SaveLoad.StiXmlReportSLService.Load(StiReport report, Stream stream)
at Stimulsoft.Report.StiReport.Load(StiReportSLService service, Stream stream)
at Stimulsoft.Report.StiReport.Load(Stream stream)
at Stimulsoft.Report.StiReport.LoadFromString(String reportStr)
at Stimulsoft.Report.Web.StiWebDesigner.LoadReportFromString(String reportString, Boolean packed, Boolean regData)
at Stimulsoft.Report.Web.StiWebDesigner.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)