Hi,
i got a problem using GetReportFromAssembly.
We're using the following code to lode a report from assembly:
Dim fname As String = "C:\Rptsample_DS.mrt"
m_StiReport = StiReport.GetReportFromAssembly(fname, True)
When using the variable i allways get an error:
"file:///C:\RptSample_DS" oder eine Abhängigkeit davon wurde nicht gefunden. Im Modul wurde ein Assemblymanifest erwartet.
It seems that when using the variable fname it allways put a "FILE:///" in front of the filename.
When using the Filename directly it works fine. Problem is we need to use a variable cause of different filenames etc.
m_StiReport = StiReport.GetReportFromAssembly("C:\Rptsample_DS.mrt", True) --> this works fine. But why not whit the fname variable ?
thx for helping
Stephan
Ok I found the solution allready, it was just a typing error. instead of loading the .DLL i try loading the .MRT which is incorrect.
Thx anyway
Problem with GetReportFromAssembly
Problem with GetReportFromAssembly
Hi Stephan,
Thank you.
No problem, let us know if you need any help.Ok I found the solution allready, it was just a typing error. instead of loading the .DLL i try loading the .MRT which is incorrect.
Thank you.