LoaderException

Stimulsoft Reports.NET discussion
Post Reply
TheBlooD
Posts: 4
Joined: Wed Feb 09, 2011 3:47 am
Location: Spain

LoaderException

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

LoaderException

Post by Alex K. »

Hello,

Please let us know the full error stack or send sample project which reproduces the issue.

Thank you.
TheBlooD
Posts: 4
Joined: Wed Feb 09, 2011 3:47 am
Location: Spain

LoaderException

Post 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}
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

LoaderException

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please send us a sample project for analysis.

Thank you.
Post Reply