Cannot fetch data from db2 to sql in Linked servers


Msg 2, Level 20, State 0, Line 0 A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)

Solution: Go to SQL Server Configuration Manager – Services and start alla services with the domain account, not local service startup. This will work.

Advertisements

About Buja Atdhe

CEO of the platform
Gallery | This entry was posted in Error directory, Technical descriptions and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s