Sql数据库文件未创建且未打开 [英] Sql database file not created and not opened

查看:112
本文介绍了Sql数据库文件未创建且未打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们

i希望在我的vs 2012中打开一个准备好的项目

我打开所有的东西,一切都很好

但是当我想打开它并查看表格和数据时,有关数据库的


或服务器驱逐程序中的任何东西

告诉我这个错误和我甚至无法创建一个新的Microsoft DataBase文件:(总是告诉我这个erorr

Image Bellow :(

[ ^ ]



我尝试过:



我在Unistall Program \中的修复功能并尝试修复SQL数据工具但根本不工作:( 





i为我附上我的整个项目

Uploadfiles.io - eshop.zip [ ^ ]
带数据库的


Uploadfiles.io - database.zip [ ^ ]

解决方案

由于错误消息中给出的原因,您无法附加数据库:找不到服务器或无法访问服务器。



首先查看连接字符串,找出您尝试连接的SQL实例。然后看看你可用的实例被调用了什么,并使用一个匹配正确的连接字符串。



我们做不到为您:我们无法访问您的网络或您的代码!


hey guys
i want to open an ready project in my vs 2012
i've open all thing and every thing is ok
but
about database when i want to open it and see tables and data
or any thing in server expelorer
show me this error and i cant even creat a new Microsoft DataBase File :( allways show me this erorr
Image Bellow :(
[^]

What I have tried:

i treid Repair feature in Unistall Program\ And Tried To Repair SQL Data Tools but not working at all :(



i attach my whole project for you
Uploadfiles.io - eshop.zip[^]
with the database
Uploadfiles.io - database.zip[^]

解决方案

You can't attach the database for the reason given in the error message: "the server was not found or was not accessible".

Start by looking at your connection string and find out what SQL instance you are trying to connect to. Then look at what the instance(s) you have available are called, and use a connection string that matches the correct one of those.

We can't do that for you: we have no access to your network, or your code!


这篇关于Sql数据库文件未创建且未打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆