查看: 978|回复: 1
|
为什么会不能连接到MS SQL 数据库
[复制链接]
|
|
为什么会不能连接到数据库?我下载的是MICROSOFT SQL SERVER 2005 EVALUATION VERSION.
A connection could not be established to VERNON\SQLEXPLRESS
Reason: You must use SQL Server Management Studio or SQL Server Managment Objects (SMO) to connect to this server..
Please verify that SQL Server is running and check your SQL Registration properties (by right-clicking on the VERNON\SQLEXPRESS Node) and try again. |
|
|
|
|
|
|
|
发表于 18-10-2005 11:30 PM
|
显示全部楼层
用SQL Enterprise Manager可以connect吗?
如果可以那多半是你的connection string有问题。
如果不可以那可能是你安装得不好。去control panel->Services,查看SQL 的Service有没有Start到,去Event viewer看有没有error log。
你用VERNON\SQLEXPLRESS, VERNON 是你Server的名字吧,你install了multiple-instance的SQL吗?如果只有一个instance,那default instance直接用VERNON就可以了。
你给的资料太少,很难帮你troubleshooting。 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|