如何将 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

查看:25
本文介绍了如何将 SQL Server 2005 Express Edition 集成到 Visual Web Developer 2008 Express Edition的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Visual Web Developer Express Edition 2008 和 SQL Server 2008 Express Edition.我最近完成了一个项目.但是许多托管公司没有 SQL Server 2008.所以我决定卸载 SQL Server 2008 并安装 SQL Server 2005.然后我将重现我的数据库.我卸载了 SQL Server 2008,安装了 SQL Server 2005.在项目中,当我单击App_Data - 添加新项目 - SQL Server 数据库"时,出现错误连接到 SQL 服务器文件 (*.mdf) 需要 SQL Server 2005以正常运行.请验证组件的安装或从 URL 下载:http://go.microsoft.com/fwlink/?linkId=49251".我无法向我的项目添加新数据库.

I use Visual Web Developer Express Edition 2008 and 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. 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". I couldn't add a new database to my project.

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

So how do i integrate SQL Server 2005 Express Edition to Visual Web Developer 2008 Express Edition?

推荐答案

检查工具">选项">数据库工具">数据连接"下的设置,SQL Server 实例名称是指 SQL Express 2005 实例的名称.使用 SQL Server 配置管理器检查 SQL Server Express 是否正在运行.

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. Check SQL Server Express is running using the SQL Server Configuration Manager.

这篇关于如何将 SQL Server 2005 Express Edition 集成到 Visual Web Developer 2008 Express Edition的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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