I have been trying to import entire database from PostgreSQL into SQL Server 2005 using SSIS.
One idea that I found on the web is to use SMO. I created Script Task in SSIS and added some code to connect to remote server and pull all objects to my SQL Server but it doesn't work. When I try to connect to that remote server (PostgreSQL) in the VB.net code I get "SetParent failed for Database" which means it refuses to establish proper connection to that remote server/db.
Is there a proper code for this to work or some other way to accomplish this task?
Thanks.