Page 1 of 1
Oracle database pack
Posted: Thu Dec 03, 2015 11:49 am
by tynar
Hello, I am trying to integrate Stimulsoft 2012.1 in my ASP.NET MVC 5 application with ODP.NET Db. In forum I found posts that I should download data packs, however download links seems to be broken.
Could you please help me in this regard?
Re: Oracle database pack
Posted: Thu Dec 03, 2015 1:39 pm
by Alex K.
Hello,
Please check the archive in the attachment.
Thank you.
Re: Oracle database pack
Posted: Mon Dec 07, 2015 6:01 am
by tynar
Thank you Aleksey for files.
I've successfully composed a report using Oracle ODP.NET Connection, and it works in designer. However I have some issues
1) I'm not able to use parameters.
2) I'm not able to render it in my MVC 5 application using following code:
Code: Select all
StiReport rep = new StiReport();
rep.Load(stiReportPath);
rep.Dictionary.Variables["id"].ValueObject = id;
rep.Dictionary.Variables["lang"].ValueObject = AppSession.LanguageID;
return StiMvcViewerFxHelper.GetReportSnapshotResult(rep, this.Request);
I'm getting following error:

- error.jpg (273.48 KiB) Viewed 4345 times
Could you please help?
Re: Oracle database pack
Posted: Mon Dec 07, 2015 10:38 am
by Alex K.
Hello,
We couldn't reproduce this bug.
Please try to check the last version and let us know about the result.
Thank you.
Re: Oracle database pack
Posted: Mon Dec 07, 2015 12:08 pm
by tynar
Hello,
Our licensed version is 2012.1, I cannot test against last version. I've gone into numerous tests, changing references to direct assemblies with 'browse' button, tried to load from GAC, tried with ODP.NET 2.x and 4.x versions. Same error exists.
Any other clues?
Re: Oracle database pack
Posted: Tue Dec 08, 2015 4:41 am
by tynar
Hello,
Thanks for your help, I was able to run it successfully, trick was to add global.asax
Code: Select all
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiOracleODPAdapterService());
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiOracleODPDatabase());
instead of
Code: Select all
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiOracleAdapterService());
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiOracleDatabase());
Re: Oracle database pack
Posted: Tue Dec 08, 2015 6:43 am
by Alex K.
Hello,
Ok.
Let us know if you need any additional help.