简体   繁体   English

如何将SQL Server 2005 Express Edition集成到Visual Web Developer 2008 Express Edition

[英]How to integrate SQL Server 2005 Express Edition to Visual Web Developer 2008 Express Edition

I use Visual Web Developer Express Edition 2008 and SQL Server 2008 Express edition. 我使用Visual Web Developer Express Edition 2008和SQL Server 2008 Express Edition。 I have finished a project recently. 我最近完成了一个项目。 But many of hosting firms don't have SQL Server 2008. So i decided to uninstall SQL Server 2008 and install SQL Server 2005. Then I would reproduce my database. 但是许多托管公司没有SQL Server2008。因此,我决定卸载SQL Server 2008,然后安装SQL Server2005。然后,我将复制数据库。 I uninstalled SQL Server 2008, installed SQL Server 2005. In project, When i clicked "App_Data - Add new item - SQL Server Database", an error accured " Connections to SQL server files (*.mdf) require SQL Server 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/?linkId=49251 ". 我卸载了SQL Server 2008,安装了SQL Server2005。在项目中,当我单击“ App_Data-添加新项-SQL Server数据库”时,错误提示“ 连接到SQL Server文件(* .mdf)要求SQL Server 2005正常运行请验证组件的安装或从以下URL下载: http : //go.microsoft.com/fwlink/?linkId=49251 “。 I couldn't add a new database to my project. 我无法将新数据库添加到我的项目中。

So how do i integrate SQL Server 2005 Express Edition to Visual Web Developer 2008 Express Edition? 那么如何将SQL Server 2005 Express Edition集成到Visual Web Developer 2008 Express Edition?

Check the setting under Tools > Options > Database Tools > Data Connections for the SQL Server Instance Name refers to the name of your SQL Express 2005 instance. 检查“工具”>“选项”>“数据库工具”>“数据连接”下的设置,SQL Server实例名称是指SQL Express 2005实例的名称。 Check SQL Server Express is running using the SQL Server Configuration Manager. 使用SQL Server配置管理器检查SQL Server Express是否正在运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM