Showing posts with label ssrs. Show all posts
Showing posts with label ssrs. Show all posts

Monday, March 19, 2012

Add to SSRS data extension with config file

Hello,

I try to add an data extension who take the information to connect to the database in a config file. But It's could not retreive the values corresponding to the key.

I'm using the class ConfigurationManager from the namespace System.Configuration.

ConfigurationManager.AppSettings["QueryModel"]

Without the config file, the extension is working well.... I got the impression that reporting service and Visual Studio BI don't find the config file.

If someone can help me or have some advices. I will be pleased

Hi,

Finally, I found how to manage data Extension with config file.

The solution is :

It's not possible to do exactily like a simple application, add a configuration file app.config don't work with extension.

I found a part of the answer on this forum. it's was talking about IExtension.SetConfiguration.

In fact to solve this problem, we need to add a tags in the RSReportDesigner.config file( PrivateAssemblies Directory of Visual Studio 8) or in the RSReportServer.config ( Report Server Directory), just after the definition of the extension

Code Snippet

<Extension Name="My Extension" Type="Microsoft.Samples.ReportingServices.MyExtension.ExtensionClass,Microsoft.Samples.ReportingServices.MyExtension">
<Configuration>
<MyExtensionConfigurationData>
<MyExtensionData1>Value</MyExtensionData1>
<MyExtensionData2>Value</MyExtensionData2>
</MyExtensionConfigurationData>
</Configuration>

</Extension>

You need to implemente the SetConfiuration Method inside your class who implement the IExtension Interface.

Code Snippet

public void SetConfiguration(string configuration)

{

configXML = configuration;

}

the content of the string "configXML" while be the block corresponding to the <MyExtensionConfigurationData> tag

Next, you have to add a fonction to parse the XML block and put it inside a List or a Map...

Bye

Sunday, March 11, 2012

Add SSRS 2000 Report Designer to VS 2005?

Is it possible to add the SSRS 2000 Report Designer to VS 2005 or is the
only choice to use it with VS 2003? I see that some people have sucessfully
done side by side implementations but we have already migrated our code to
.NET 2.0 and don't need VS 2003 around for other development work other than
possible SSRS reports if we can't use the 2000 designer in the VS 2005 IDE.
Thank you in advance.Nope. You need both. RS 2000 uses 1.1 Framework and the VS 2003 designers.
It is tightly integrated with it. RS 2005 uses 2.0 framework and is tightly
integrated with VS 2005.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Jim" <jim@.nospam.com> wrote in message
news:eDIwnuF7FHA.3588@.TK2MSFTNGP15.phx.gbl...
> Is it possible to add the SSRS 2000 Report Designer to VS 2005 or is the
> only choice to use it with VS 2003? I see that some people have
> sucessfully done side by side implementations but we have already migrated
> our code to .NET 2.0 and don't need VS 2003 around for other development
> work other than possible SSRS reports if we can't use the 2000 designer in
> the VS 2005 IDE.
> Thank you in advance.
>

Sunday, February 12, 2012

Ad hoc reports multiple tables

HI,
i am a new to SSRS and i am facing a problem with Ad Hoc reporting.
actually i wanted to create a report with data from two different table. now its the relation between these two tables that is not allowing me to create a req. adhoc report.

i want the report to have data from table A and table B and the relationship between A and B is many-to-many. so in the database design i have an associate table C between A and B. so in .dsv file i have C related to A as one-to-many and C related to B as one to many.

Now here how do i get data from both table A and table B?
i will put some more info, put the question in a different way.

Say I have 3 tables related as shown in the diagram below

Say

1) plan organization

2) plan

3) plan opportunity

in the ad hoc report I wanted to have data from plan organization and plan opportunity.

How will I do that?

plan organization >-|- Plan -|--< plan opportunity

one-to-many relation between plan and plan organization
one-to-many relation betweeb plan and plan opportunity

Ad hoc reports multiple tables

HI,
i am a new to SSRS and i am facing a problem with Ad Hoc reporting.
actually i wanted to create a report with data from two different table. now its the relation between these two tables that is not allowing me to create a req. adhoc report.

i want the report to have data from table A and table B and the relationship between A and B is many-to-many. so in the database design i have an associate table C between A and B. so in .dsv file i have C related to A as one-to-many and C related to B as one to many.

Now here how do i get data from both table A and table B?
i will put some more info, put the question in a different way.

Say I have 3 tables related as shown in the diagram below

Say

1) plan organization

2) plan

3) plan opportunity

in the ad hoc report I wanted to have data from plan organization and plan opportunity.

How will I do that?

plan organization >-|- Plan -|--< plan opportunity

one-to-many relation between plan and plan organization
one-to-many relation betweeb plan and plan opportunity

Ad hoc reporting with SSRS 2000?

Does anyone know if SQL Server Reporting Services is capable of

any ad hoc reporting?

Thanks!!

SSRS 2000 does not have end-user client (similar to Report Builder in 2005) for report authoring.