Note that there are some explanatory texts on larger screens.

plurals
  1. POMissing Path to SQL Server Express User Instance, can't see all databases in SQL Server Management Tool
    primarykey
    data
    text
    <p>I have a WPF application deployed via ClickOnce. This application uses a SQL Server Express database. I am trying to access my user instance of the database so that I can access the database that I am currently using when debugging so that I can verify writes to the DB made by entity framework. However, when I try to open the user instance using the direct pipe name: "\.\pipe\3FCB3BEB-9ACF-4E\tsql\query". I connect fine but when I expand the "Databases" node I get the following error:</p> <blockquote> <p>TITLE: Microsoft SQL Server Management</p> <h2>Studio</h2> <p>Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)</p> <p>For help, click: <a href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;LinkId=20476" rel="nofollow noreferrer">http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;LinkId=20476</a></p> <p>------------------------------ ADDITIONAL INFORMATION:</p> <p>An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)</p> <hr> <p>Unable to open the physical file "C:\Users\mark.ti\AppData\Local\Apps\2.0\Data\RJ9HCXPL.ZWT\7VHVB97B.EB2\abcd..tion_b144089e1fe9cf01_0001.0000_b03f40a7888c1e15\Data\Resources\Data\MyDatabase.mdf". Operating system error 3: "3(The system cannot find the path specified.)". (Microsoft SQL Server, Error: 5120)</p> <p>For help, click: <a href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=09.00.4035&amp;EvtSrc=MSSQLServer&amp;EvtID=5120&amp;LinkId=20476" rel="nofollow noreferrer">http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=09.00.4035&amp;EvtSrc=MSSQLServer&amp;EvtID=5120&amp;LinkId=20476</a></p> <p>------------------------------ BUTTONS:</p> <h2>OK</h2> </blockquote> <p>The path does exist, its where the ClickOnce application was deployed to after install. After uninstalling the application, I still get this error, although, now the path truly is gone.</p> <p>I have tried re-starting my SQL Server Express service to see if that will clear our the user instances but that didn't seem to work.</p> <p>Has anybody else encountered this error when working with SQL Server Express? What is the problem here caused by? How do I reset the user instance database refereces?</p>
    singulars
    1. This table or related slice is empty.
    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