sql-server – 为什么Visual Studio 2008不会安装SQL Server 2008 Developer创建.mdf文件?

我正在尝试一些ASP.NET MVC教程,其中一个有以下步骤:

>右键单击“App_Data”文件夹,然后选择“添加新项目”
>在“数据”类别下选择“sql Server数据库”.

但是,一旦我这样做,我从Visual Studio得到以下消息:

Connections to sql Server files (*.mdf) require sql Server Express 2005 to function proprely. Please verify the installation of the component or download from the URL…

事情是我已经安装了sql Server 2008 Developer Edition,如果我不需要,我真的不会安装任何Express版本(2005或2008).有没有解决这个问题?

解决方法

实际上sql express是一个完全不同的数据库引擎,然后是sql Server 2005.所以是的,如果你想使用mdf文件,你需要sql Express.

相关文章

SELECT a.*,b.dp_name,c.pa_name,fm_name=(CASE WHEN a.fm_n...
if not exists(select name from syscolumns where name=&am...
select a.*,pano=a.pa_no,b.pa_name,f.dp_name,e.fw_state_n...
要在 SQL Server 2019 中设置定时自动重启,可以使用 Window...
您收到的错误消息表明数据库 'EastRiver' 的...
首先我需要查询出需要使用SQL Server Profiler跟踪的数据库标...