Page 1 of 1

Reference error

Posted: Mon Nov 21, 2011 9:10 pm
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

Reference error

Posted: Tue Nov 22, 2011 5:10 am
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.