Reputation:
When I try to preview report in Visual Studio 2012 Designer I am getting an error:
An error occurred during local report processing.
An unexpected error occurred in Report Processing.
An error occurred during local report processing.
Error in the application.
Could not find a part of the path '...\bin\Debug\Data Sources\SomeDatasource.rds'.
Couple remarks:
Upvotes: 5
Views: 20023
Reputation: 2600
I created a "Data Sources" folder under .../bin/Debug/ , and copied the data source items into it. I tried the above but this is what solved it for me. (SSDT 2017, working with SQL 2014 SSRS files )
Upvotes: 0
Reputation: 19466
I got this error on deployment because the .rds file was not yet made in the deployment folder. My data source was under Shared Data Sources. I fixed it by building the .rds file in Visual Studio like so.
This creates the .rds file in the folder that is being used for deployment.
Upvotes: 8
Reputation: 253
1) open the report definition's xml by right click -> view code
2) browse to Report -> DataSources -> DataSourceReference
3) replace "/Data Sources/MyDS" with "MyDS"
This clearly should have been patched by now!
Upvotes: 11