The report server cannot process the report. The data source connection information has been deleted
I want to make a copy of a report. I go into report properties on the SSRS, click edit and download the .rdl to my computer.
I then upload the report, using a different name.
I then get the above error.
If I copy the report to the same location as the shared data source, and the above error disappears.
But now the report doesn't work - no parameters in the dropdown lists.
My question is : Why does a copy of a report, uploaded to the SSRS, not work, when the original is sitting right next to it, with the same rdl definitin, in a working state?
Are all the datasets using a single shared data source? Check that no private data sources are being used. After re-uploading the report with a different name, go to the properties page in report manager and in the data sources section make sure that you check all the datasources being used. Repoint it to the shared datasource and retype any connection strings and usernames and passwords for the data sources. I think for security reasons these are ommitted when you export the RDL.|||
Adam,
You are right. I checked the Data Sources, and there were two shared data sources that were marked invalid. However, I notice that the parameters have also been messed up. In the original report, there was no default parameter specified, whereas the new report (copied and uploaded) indicates a default parameter, which happens to be an invalid value. Because the dropdown boxes for the other parameters are linked, these dropdown boxes don't populate. My reasoning says that the uploaded .rdl should be the same as the copy I downloaded. I can see that it has been changed when referencing Data Sources. Why is there this difference in the parameters? Is this "by design"?
Question : Why does the parameter default value change when I upload the .rdl using a different name?
Question: How do I fix the problem?
|||I notice that the new report (copy) has two problems with the parameters:
1. Parameter is no longer marked "hidden", but is marked "prompt the user"
2. Parameter contains an invalid default value.
I have changed the parameter so that it is now marked "hidden", and so that the default value is the same as the original report (which was empty). The report now works.
Perhaps somebody has an answer to the problem below (repeated from previous post):
Question : Why does the parameter default value change when I upload the .rdl using a different name?
No comments:
Post a Comment