Page 1 of 1
LoaderException
Posted: Thu Mar 31, 2011 3:36 am
by TheBlooD
Hi,
I have a report make with version 2009.2.456.0, the report in the designer run 100%, but in vb.net have a "LoaderException"
I have this code:
Code: Select all
StiConfig.Services.Add(New Stimulsoft.Report.Dictionary.StiMySqlAdapterService)
StiConfig.Services.Add(New Stimulsoft.Report.Dictionary.StiMySqlDatabase)
MiRep = New StiReport
MiRep.Load(MiPath)
MiRep.Show(Me.ParentForm)
Excuse me my bad english.
Regards
LoaderException
Posted: Thu Mar 31, 2011 7:57 am
by Alex K.
Hello,
Please let us know the full error stack or send sample project which reproduces the issue.
Thank you.
LoaderException
Posted: Thu Mar 31, 2011 9:36 am
by TheBlooD
Thanks.
This is the exception
{"No se pueden cargar uno o varios tipos requeridos. Recupere la propiedad LoaderExceptions para obtener más información."}
System.Reflection.ReflectionTypeLoadException: {"No se pueden cargar uno o varios tipos requeridos. Recupere la propiedad LoaderExceptions para obtener más información."}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: Nothing
InnerException: Nothing
Message: "No se pueden cargar uno o varios tipos requeridos. Recupere la propiedad LoaderExceptions para obtener más información."
Source: "mscorlib"
StackTrace: " en System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) en System.Reflection.Assembly.GetTypes() en Stimulsoft.Report.StiReport.GetReportsFromAssembly(Assembly assembly) en Stimulsoft.Report.StiReport.GetReportFromAssembly(Assembly assembly) en Stimulsoft.Report.StiReport.CreateInstance() en Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType) en Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate) en Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate) en Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType) en Stimulsoft.Report.StiReport.Compile(StiOutputType outputType) en Stimulsoft.Report.StiReport.Compile() en Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) en Stim
ulsoft.Report.StiReport.RenderReport(StiRenderState renderState) en Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) en Stimulsoft.Report.StiReport.Render(StiRenderState renderState) en Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage) en Stimulsoft.Report.StiReport.Render(Boolean showProgress) en Stimulsoft.Report.StiReport.Show(Form parentForm, IWin32Window win32Window, Boolean dialogForm) en Stimulsoft.Report.StiReport.Show(Form parentForm, Boolean dialogForm) en Stimulsoft.Report.StiReport.Show(Form parentForm) en BlooDSoft.GestSTIReport.STI_Report.VistaPrevia(Form Parent) en D:\Documentos\Visual\TheBlooD Soft\GestSTIReport\GestSTIReport\STI_Report.vb:línea 103"
TargetSite: {System.Reflection.RuntimeMethodInfo}
LoaderException
Posted: Fri Apr 01, 2011 1:03 am
by Alex K.
Hello,
We couldn't reproduce this bug.
Please send us a sample project for analysis.
Thank you.