First some background info - we have a brand-new server setup with Win 2008 R2 and SQL 2012 Enterprise, both 64 bit. We've upgraded all of our SQL 2008 R2 SSIS packages into SQL 2012 without any issues.
Now we're trying to run a package and we're getting all kinds of errors. The package uses parameters in the OLE DB Source. These packages currently run flawlessly every day in 2008 R2 Production.
When I open the package in SQL Server Data Tools I get the following errors:
Error 2 Validation error. Produce Output: Produce Output: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL
Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because statement 'REVERT --Check if SSB is enabled in this database' in procedure 'sp_send_dbmail' does
not support metadata discovery.". MyPackage.dtsx 0 0
Error 3 Validation error. Produce Output: Produce Output: Unable to retrieve column information from the data source. Make sure your target table in the database is available. MyPackage.dtsx 0 0
Error 4 Validation error. Produce Output Data Feed Result Set [2]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft
SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because statement 'REVERT --Check if SSB is enabled in this database' in procedure 'sp_send_dbmail'
does not support metadata discovery.". MyPackage.dtsx 0 0
Error 5 Validation error. Produce Output Data Feed Result Set [2]: Unable to retrieve column information from the data source. Make sure your target table in the database is available. MyPackage.dtsx 0 0
I've searched and searched and can't find anything of value that will help with this issue. I created a new package and it works just fine, so it has to be something in our upgraded package. I've confirmed the Connection Manager connection is setup properly, and the OLE DB Source returns success when I click "Parse Query".
Any help is greatly appreciated as we are at a complete halt with our SQL 2012 migration.
Thank you,
Andre
André