all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

Creating RDL files at runtime


Creating RDL files at runtime anandsagar NO[at]SPAM gmail.com
8/7/2004 1:18:31 AM
sql server reporting services:
I created a CustomerReport.rdl from VS.NET. I previewed the report in
the SQLServer Report Manager and it shows the report. that is perfect.

Now what i did is, I opened the CustomerReport.rdl in Notedpad.
Obviously it shows me the XML format of the report design. I copied
all XML content of the report (Ctrl+A/paste) and copied into a new
notepad window and saved the new file as test.rdl.


Now when I open the test.rdl report from Report Manager, I see that
Iam asked to enter the SQLServer authentication (sa/password). Only
after I do the SQLServer authentication, Iam able to view the report
in the Report Manager. Why does it ask me so.


The thing is Iam playing with the rdl because I need to create reports
on the fly (at runtime) in my project requirement. Please share your
experiences if you've done something simialar.

thanks,
Re: Creating RDL files at runtime olap NO[at]SPAM gmsbv.nl
8/7/2004 1:39:55 PM
Hi,

You can test it live on internet and change the parameter
ProductFamily=Food in ProductFamily=Food. Here you will find 4 ways to
start a MS Reporting Services Report as enduser:

http://128.171.208.112/ReportServer?%2fFoodmart+Sales&ProductFamily=Food

http://128.171.208.112/ReportServer?%2fFoodmart+Sales&rs%3aFormat=HTML4.0&ProductFamily=Food&rc%3aToolbar=True&rc%3aJavaScript=True&rc%3aLinkTarget=_top&rc%3aArea=Toolbar

http://128.171.208.112/ReportServer?%2fFoodmart+Sales&ProductFamily=Food&rs%3aFormat=HTML4.0&rc%3aToolbar=True&rc%3aJavaScript=True&rc%3aLinkTarget=_top&rc%3aArea=Report

Any other parameter can be used in an action from MS As 2000. For more
info: www.reportportal.com / www.gmsbv.nl

Regards,
Marco

www.gmsbv.nl - your partner for MS Analyses & Reporting Services in
Europe !


[quoted text, click to view]
Re: Creating RDL files at runtime Robert Bruckner [MSFT]
8/7/2004 3:42:10 PM
One additional comment to Jerome's posting: If you use the managed SQL
provider ("SQL") in the data source, you can use IntegratedSecurity for
testing purposes (and therefore no need for credentials):
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<IntegratedSecurity>true</IntegratedSecurity>
<ConnectString>data source=(local); .... </ConnectString>
</ConnectionProperties>

--
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

Re: Creating RDL files at runtime Jerome BERTHAUD
8/7/2004 4:59:08 PM
Hello,

What kind of datasource are you using ? shared or private to the report ?
In Report Designer or Report Manager, connections to data sources are
managed by ReportDesigner or ReportingServices and credentials are stored
securily in Repository for ReportingServices. Credentials are not part of
RDL and you should not find then in Notepad. If you have a shared Datasource
you can configure it with ReportManager and reference it in your RDL, so you
will not have to authenticate again with Test.rdl

HTH

Jerome Berthaud (MCSD)
http://www.winsight.fr


[quoted text, click to view]

AddThis Social Bookmark Button