Monday, February 27, 2012

HELP - How to specify no credentials programatically?

When we use the ReportingService2005.CreateReport () method to publish an RDL
file to the server (from a C# client application we've developed), there
doesn't seem to be a way to specify within the RDL that "No credentials are
required" for the datasource it uses. Nor does the CreateReport() method
accept a parameter to specify this. The system seems to default to
"Credentials Supplied by User" which is not what we need.
The datasource definition is internal to the RDL file (i.e. not a shared
one).
Does anyone know how to do this?
thanks in advance,
MichaelYou will need to call GetItemDataSources, modify the data source accordingly
and then call SetItemDataSources.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"MichaelM" <MichaelM@.discussions.microsoft.com> wrote in message
news:50C78B6E-EBC5-4D16-A207-21E75FC42A12@.microsoft.com...
> When we use the ReportingService2005.CreateReport () method to publish an
> RDL
> file to the server (from a C# client application we've developed), there
> doesn't seem to be a way to specify within the RDL that "No credentials
> are
> required" for the datasource it uses. Nor does the CreateReport() method
> accept a parameter to specify this. The system seems to default to
> "Credentials Supplied by User" which is not what we need.
> The datasource definition is internal to the RDL file (i.e. not a shared
> one).
> Does anyone know how to do this?
> thanks in advance,
> Michael

No comments:

Post a Comment