Quantcast
Channel: Deploying Reports rss (however cannot get shared datasource to work)
Viewing all articles
Browse latest Browse all 24

Deploying Reports rss (however cannot get shared datasource to work)

$
0
0
Hi Borg239,

The code you posted should work fine.

The possilbe cause should be the DataSource Name is not the one we have defined in the report.
By default, the Reporting Services uses the name of a DataSource to add data reference between DataSource and Reports.

So, please make sure "PDataSet" and "DBConn" is the data source name we used in the report.

By the way, we do not need to execute SetDataSourceContents after CreateDataSource.

If you have any more questions, please feel free to ask.

Thanks,
Jin Chen
Jin Chen - MSFT


The reports have this

  <DataSources>
    <DataSource Name="DBConn">
      <rd:DataSourceID>f60a2d44-2c6e-4603-bda3-ef29565d56c1</rd:DataSourceID>
      <DataSourceReference>DBConn</DataSourceReference>
    </DataSource>
    <DataSource Name="PDataSet">
      <rd:DataSourceID>779b2753-e8e6-4873-a7d7-74dd340e538b</rd:DataSourceID>
      <DataSourceReference>PDataSet</DataSourceReference>
    </DataSource>
  </DataSources>

so the code looks good as far as i can tell






Viewing all articles
Browse latest Browse all 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>