Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot connect to named shared LocalDB instance
    primarykey
    data
    text
    <p>I spent hours on this with no success. Any help appriciated:</p> <p>I create LocalDB instance</p> <pre><code>sqllocaldb create test </code></pre> <p>i start that instance</p> <pre><code>sqllocaldb start test </code></pre> <p>i share that instance with same user account that owns the original instance</p> <pre><code>sqllocaldb share "domain\user" test testShared </code></pre> <p>Both instances are in "running" state. </p> <p>I launch MS SQL Management studio and try to connect to instances. Results:</p> <p>I'm able to connect to both instances using named pipes - OK.</p> <p>I'm able to connect to (localdb)\test - OK.</p> <p>I'm not able to connect to (localdb)\.\testShared - NOT OK.</p> <p>Error message:</p> <p><code>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) (Microsoft SQL Server, Error: 2)</code></p> <p>Any ideas? I tried that on 4 different computers. It works correctly on two of them. 3 of coputers are connected to domain (so it has probably nothing to do with domain environment).</p> <p>In SQL Configuration Manager - all protocols are enabled.</p> <p>What I need to achieve - share the LocalDB instance with IIS APPPOOL\ASP.NET v4.0 account according to <a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx#SharedLocalDB" rel="nofollow">this</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload