stimulsoft report generate/ bind issue.
Posted: Tue Jul 02, 2013 4:13 am
hi,
I have facing some convert / migrate problem. while my old report version is 2011.3.1200 to 2012.3.1500
after I copied those report dll, assembly in my project. the report file all not able to run/ execute.
it given me exception as below
Object of type 'Stimulsoft.Report.Components.StiPage' cannot be converted to type 'Stimulsoft.Report.Components.StiPage'.
System.ArgumentException was unhandled by user code
Message=Object of type 'Stimulsoft.Report.Components.StiPage' cannot be converted to type 'Stimulsoft.Report.Components.StiPage'.
Source=mscorlib
StackTrace:
at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.Deserialize(Object obj, Stream stream, String application)
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.Load(String path)
at ieHRMS.WebModules.Report.ReportMethod.CreateStimulReport(ReportList reportEnum) in D:\Business\Project\eBox2010\Web\WebModules\Report\ReportMethod.cs:line 1798
at ieHRMS.WebModules.Report.Payroll.PayslipRptStiFilterForm.GenerateReport() in D:\Business\Project\eBox2010\Web\WebModules\Report\Payroll\PayslipRptStiFilterForm.aspx.cs:line 790
at ieHRMS.WebModules.Report.Payroll.PayslipRptStiFilterForm.btnGenerate_Click(Object sender, EventArgs e) in D:\Business\Project\eBox2010\Web\WebModules\Report\Payroll\PayslipRptStiFilterForm.aspx.cs:line 73
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
need your clarify and assist from stimul. thank you!
I have facing some convert / migrate problem. while my old report version is 2011.3.1200 to 2012.3.1500
after I copied those report dll, assembly in my project. the report file all not able to run/ execute.
it given me exception as below
Object of type 'Stimulsoft.Report.Components.StiPage' cannot be converted to type 'Stimulsoft.Report.Components.StiPage'.
System.ArgumentException was unhandled by user code
Message=Object of type 'Stimulsoft.Report.Components.StiPage' cannot be converted to type 'Stimulsoft.Report.Components.StiPage'.
Source=mscorlib
StackTrace:
at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.Deserialize(Object obj, Stream stream, String application)
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.Load(String path)
at ieHRMS.WebModules.Report.ReportMethod.CreateStimulReport(ReportList reportEnum) in D:\Business\Project\eBox2010\Web\WebModules\Report\ReportMethod.cs:line 1798
at ieHRMS.WebModules.Report.Payroll.PayslipRptStiFilterForm.GenerateReport() in D:\Business\Project\eBox2010\Web\WebModules\Report\Payroll\PayslipRptStiFilterForm.aspx.cs:line 790
at ieHRMS.WebModules.Report.Payroll.PayslipRptStiFilterForm.btnGenerate_Click(Object sender, EventArgs e) in D:\Business\Project\eBox2010\Web\WebModules\Report\Payroll\PayslipRptStiFilterForm.aspx.cs:line 73
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
need your clarify and assist from stimul. thank you!