作者:恐龙 | 来源:互联网 | 2023-09-04 11:07
IinstalledVS2008withoutSQL2005,thenIinstalledSQL2008,thenIneeded2005expresssoIrei
I installed VS 2008 without SQL 2005, then I installed SQL 2008, then I needed 2005 express so I reinstalled VS checking the SQL feature. The installation went OK, however I still cannot open mdf files from VS. I think there is no 2005v instance installed.
我在没有SQL 2005的情况下安装了VS 2008,然后我安装了SQL 2008,然后我需要2005 express,所以我重新安装了VS检查SQL功能。安装顺利,但我仍然无法从VS打开mdf文件。我认为没有安装2005v实例。
When I dbl-click an mdf file in VS I get the following message: Connections to SQL Server Files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL: http:go.microsoft.com/fwlink/?linkID=49251.
当我在VS中dbl-click一个mdf文件时,我收到以下消息:与SQL Server文件(* .mdf)的连接要求SQL Server Express 2005正常运行。请验证组件的安装或从URL下载:http:go.microsoft.com/fwlink/?linkID = 49251。
Update
I tried to attatch it, it doesn't work. When I tried to attach it to SQL 2008 it doesn't work, when I try to attach it to SQL inside VS, I get the following error message: 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: 26 - Error Locating Server/Instance Specified) I suspect that SQL 2005 doesn't have any instance at all. I opened SS manager and I didn't see any installed instances.
我试图抓住它,它不起作用。当我尝试将它附加到SQL 2008时它不起作用,当我尝试将它附加到VS内的SQL时,我收到以下错误消息:建立与SQL Server的连接时发生网络相关或特定于实例的错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:SQL网络接口,错误:26 - 错误定位指定的服务器/实例)我怀疑SQL 2005根本没有任何实例。我打开了SS管理器,但没有看到任何已安装的实例。
I don't know how to install an instance, or else if there is a way to open with 2008 tell me.
我不知道如何安装实例,否则如果有办法打开2008告诉我。
Any help will be really appreciated!
任何帮助将非常感谢!
1 个解决方案