Visual Studio SSIS Temp Tables in Data Sources. 26 January 2015 Don-Rickman SQL Server - T-SQL (0) When creating a data source with temp tables avoid temp table errors. "Invalid object name #" You can add the following lines to your query or procedure. SET FMTONLY OFFSET NOCOUNT ON This will prevent formatting and count errors.