I'm running the .NET SQL Comparison SDK to automate data migrations between two databases on a local server. We are running against Sql Server Express 2005. When I attempt migration, I get a named pipes provider error:
"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)."
Relevant stack trace:
System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) +332
System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) +425
a.EndInvoke(IAsyncResult result) +0
RedGate.SQLCompare.Engine.Database.RegisterForDataCompare(ConnectionProperties connectionProperties, Options options) +105
I've attempted to allow both TCP/IP and named pipes. What's additionally odd is that I am not having trouble connecting to the db with the same credentials when I use SQL Compare tool. Are they somehow connecting thru different ports/mechanisms?
Appreciate any help!