Hi Team,
When we started the project, we used SQL Server 2008 R2 as DB and VS 2012(C#) for developing the UI. Recently we upgraded the .Net fwk to 4.5.2(VS 2013) and SQL server to 2014. This resulted in one odd behavior.
From our .Net code (a WCF service), we were using LoadFromSqlServer method to load the package deployed in SQL server 2008 R2, which was just working fine. However the same didn't work when we migrated to SQL Server 2014. Please note, we did upgrade all the SSIS packages using the upgrade package wizard from the SQL server 2014.
After going through this sample code, https://msdn.microsoft.com/en-us/library/ms136090.aspx, we understood, Microsoft recommends to use LoadPackage method to load the package from SQL server. We tried this and things worked just as expected.
Few Questions:
1. Is LoadFromSqlServer method decommissioned? Should we not use this to load the package deployed in SQL server >=2012 ?
2. Updating the code to use the LoadPackage method is the only or the best way to resolve this issue if the packages are deployed in SQL server that is >=2012 ?
It is quite important for our team to know this as we have to rebuild few other components based on the response to the above questions.
Appreciate your suggestions.
T