SSRS wont run because of view
Posted on 2014-07-10
I have a SQL report that is built with Visual Studio 2010, the report was built for in house reporting and looks to several views in our dbase. It runs fine when I do so from visual studio, but I now would like to automate this and pulled the report into SSRS and tried to subscribe it out. The report will not run in SSRS because it doesn't recognize the views, only the actual tables. It's a fairly lengthy and complex report written by someone much smarter than I, so fooling around with the report code is a last resort. I tried adding a dataset and made a simple SQL statement SELECT * FROM AA_SalesGRP and it sees the fields ok, but the actual report still chokes when run on SSRS.
the error I get when trying to run the report from SSRS
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'AA_SalesGRP'. (rsErrorExecutingCommand)
Invalid object name 'AA_SalesGRP'.