I'm having a bizarre issue with SSRS 2012 reports, specifically with SQL Shared Data Sources.
My reproduction steps are as follows:
- Create a new shared data source called Test, pointing to a SQL server on the network. Test credentials, get a successful test.
- Create a new report called Test, not going through the wizard.
- On the Test report, add the shared data source.
- Add Dataset1 utilizing the shared datasource 'Test'. Query type of text as
SELECT 1 AS 'one', 2 AS 'two'
- Preview report. As expected, I get a blank report with no errors.
- Commit data source and report to TFS repository (.rdl, .rds and changes to .sln).
- Get latest on coworkers workstation
- Open Test report, and go to Preview. The error I receive states 'An error has occurred during report processing.' Refreshing the report also gives error 'Object reference not set to an instance of an object,'
Recreating the shared data source on coworker's workstation lets the report run successfully again. Recommitting the changed data source then breaks the report on my original machine. The only thing changing in the .rds file is the DataSourceID, which is not referenced in the .rdl as far as I can see.
Both machines are on Visual Studio Premium 2013, with a SSRS 2012 solution file.
Any ideas as to what may be causing this are very much appreciated.
Cheers