Reference error

Stimulsoft Reports.NET discussion
Post Reply
ucaneto
Posts: 1
Joined: Mon Nov 21, 2011 9:05 pm
Location: Brazil

Reference error

Post by ucaneto »

I'm testing the Stimulsoft.Net and use a generator class that is the EntitySpaces, whenever I send a report to run got the following error:

need a module reference assembly SIF5.Dal

more as you can see it put in the code, what am I doing wrong?

stiRelatorio = new Stimulsoft.Report.StiReport();

string[] references = stiRelatorio.ReferencedAssemblies;

List newReferences = references.ToList();

newReferences.Add("SIF5.Dal.dll");
newReferences.Add("EntitySpaces.Core.dll");
newReferences.Add("EntitySpaces.Interfaces.dll");

stiRelatorio.ReferencedAssemblies = newReferences.ToArray();

string strCaminho = Application.StartupPath + @"\Reports\relContratoExperi.mrt";

stiRelatorio.Load(strCaminho);
stiRelatorio.RegData("dsArquivos", colFuncionario);
stiRelatorio.Compile();
stiRelatorio.Show();

Tks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Reference error

Post by HighAley »

Hello.

Please try to add to your project reference this assembly.
If there is still a error, please, send us your project with all assemblies.

Thank you.
Post Reply