Click here to Skip to main content
15,888,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to set datasource when I upload a new report in ssrs server.Why?
While I have set datasource already with the same namein the report.
I have created DataSource with name "DataBaseConnection" ssrs server where I want to upload report


What I have tried:

HTML
<DataSources>
    <DataSource Name="DataBaseConnection">
      <DataSourceReference>DataBaseConnection</DataSourceReference>
      <rd:SecurityType>DataBase</rd:SecurityType>
      <rd:DataSourceID>c33f0b07-0385-40b5-a4ad-4bf82bd89b49</rd:DataSourceID>
    </DataSource>
  </DataSources>
Posted
Updated 27-Feb-18 23:13pm

1 solution

When You upload new report in ssrs server,DataSource mapping to report is not defined.
You can check by
HTML
-- Shared Data Source references with broken links
SELECT
  ItemPath = c.[Path],
  ItemName = c.Name,
  DatasourceRefrenceName=ds.Name
FROM
  [Catalog] AS c
  INNER JOIN DataSource AS ds ON ds.ItemID = c.ItemID
WHERE
  ds.Link IS NULL
  AND ds.Extension IS NULL
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900