Hi,
Environment:
Source: SQL 2008 (SP3) on Windows Server 2008R2
Destination: SQL2012 with Visual Studio 2010 on Windows Server 2012
I create a SSIS project using Visual Studio 2010 on Windows Server 2012 with SQL 2012 and I drag the "Transfer Login Task" onto the designer. When I try to create a SMO Source connection and click on "Test Connection" button, it gives an error.
The error message is:
"Failed to connect to server.
A network-related or instance-specific error occurrred while establishing a connection to SQL server. The server was not found or was not accessible. Verify that the instance name is correct and theat SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server Error: 2)"
I have checked:
1. Firewall - Disabled and also added SQLServer.exe and SQLBrowser.exe to Firewall
2. SQL Brower Service is running
3. Remote Connection checked on SQL 2008 server
4. Integrated User login is SysAdmin on both SQL 2008 and SQL 2012 Server
Note: When I use Visual Studio 2008 from another server I can create a SSIS package with "Transfer Login Task" and I can connect to both SQL 2008 Source connection and SQL 2012 Destination Connection without error.
I have also connected to SQL 2008 using SQL 2012 Microsoft SQL Server Management Studio, therefore I know the SQL server instance exists and I can query the database.
Thanks in Advance for any help to resolve this.
T