Can I specify the default SQL Server with two named instances installed? -
i have sql 2005 express installed. installed sql server 2008 r2 , running both instances successfully. named:
- computername\sqlexpress (2005)
- computername\install2 (2008)
i trying figure out how specify 2008 instance default server. have tried:
- data source=.\local; ...
- data source=.; ...
- data source=localhost; ...
- data source=(local); ...
- data source=127.0.0.1; ...
each time there connection error stating...
test connection failed because of error in initializing provider. network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: named pipes provider, error: 40 - not open connection sql server)
i have other developers working on same project , have sql server 2008 r2 installed , able use data source=(local); ...
connect without issues.
is there way me define 2008 instance default or local instance?
you can use connection alias. see how to: create server alias use client
Comments
Post a Comment