Missing Connection Type

Stimulsoft Reports.NET discussion
Post Reply
PETER CHEN
Posts: 3
Joined: Fri Jan 24, 2014 9:00 pm

Missing Connection Type

Post by PETER CHEN »

I have installed Stimulsoft Reports.Net and copied Stimulsoft.Report.OracleClient.dll into bin directory. When I launch report designer from window and try to create new connection, Oracle connection type is there for selection. But when I launch report designer from a form in Visual Studio, I cannot find that Oracle connection type any more.

What is wrong in my operation? How to fix that?

Any help is appreciated.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Missing Connection Type

Post by Alex K. »

Hello,

Please try to add the following code in your project:

Code: Select all

StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiOracleAdapterService());
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiOracleDatabase());
Thank you.
PETER CHEN
Posts: 3
Joined: Fri Jan 24, 2014 9:00 pm

Re: Missing Connection Type

Post by PETER CHEN »

Hi Aleksey,
It works after I added the code to Application_Start of my ASP.Net project.
Thank you very much.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Missing Connection Type

Post by Andrew »

Hello,

It always a pleasure to help you!
Post Reply