I have a stored procedure that I'm using in a dataset to generate a report in ReportViewer.
This SP uses temporary tables to store intermediate values, so that these can be used in a calculation at the end of the SP.
The temp tables are all dropped cleanly at the end of the SP.
I can execute the SP in SSMS with no issues and it returns the data that I expect.
However, when use the TableAdapter Configuration Wizard to update my xsd in VS2012, it gives me the error Invalid object name '#Held'
(where #Held is the name of one of the temp tables).
What's going on?