Oracle database pack

Stimulsoft Ultimate discussion
Post Reply
tynar
Posts: 25
Joined: Thu Mar 17, 2011 11:54 pm
Location: Kyrgyzstan

Oracle database pack

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

Re: Oracle database pack

Post by Alex K. »

Hello,

Please check the archive in the attachment.

Thank you.
Attachments
OracleODPDatabase.zip
(22.92 KiB) Downloaded 379 times
OracleDatabase.zip
(16.48 KiB) Downloaded 317 times
tynar
Posts: 25
Joined: Thu Mar 17, 2011 11:54 pm
Location: Kyrgyzstan

Re: Oracle database pack

Post 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
error.jpg (273.48 KiB) Viewed 4343 times
Could you please help?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Oracle database pack

Post 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.
tynar
Posts: 25
Joined: Thu Mar 17, 2011 11:54 pm
Location: Kyrgyzstan

Re: Oracle database pack

Post 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?
tynar
Posts: 25
Joined: Thu Mar 17, 2011 11:54 pm
Location: Kyrgyzstan

Re: Oracle database pack

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

Re: Oracle database pack

Post by Alex K. »

Hello,

Ok.
Let us know if you need any additional help.
Post Reply