我正在开发一个MVC 5应用程序。在我的MVC 5应用程序中,我希望从Add_Data文件夹创建一个mdf文件,但是当我想从Add_Data文件夹的Add_Data菜单中添加mdf文件时,我会收到一个错误
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: SQL Network Interfaces, error: 50 – Local Database Runtime error occurred. Cannot create an automatic instance. See the Windows Application event log for error details
发布于 2013-08-23 14:17:11
试着跑
SqlLocalDB delete “v11.0”紧接着是
SqlLocalDB create “v11.0”SqlLocalDB.exe位于C:\Program Files\Microsoft SQL Server\110\Tools\Binn。
https://stackoverflow.com/questions/18404523
复制相似问题