简体   繁体   English

SQL Server 2005 Express与Visual Web Developer 2008 Express的连接

[英]SQL Server 2005 express connection with Visual Web Developer 2008 express

Ok so I had first downloaded SQL Server Express 2008 and Wed Developer Express 2008, and I could not integrate the two together. 好的,所以我首先下载了SQL Server Express 2008和Wed Developer Express 2008,但无法将两者集成在一起。 Was getting error messages that were wasking for the correct version of SQL Server 2005, so.... 正在获取浪费了正确版本的SQL Server 2005的错误消息,所以...

I uninstalled SQL Server Express 2008, and installed SQL Server Express 2005. 我卸载了SQL Server Express 2008,并安装了SQL Server Express 2005。

Now I open the Visual Web Developer and tried to add an item (SQL Database) to the App_Data folder in a web site project, and now I am getting the below error. 现在,我打开Visual Web Developer并尝试将一个项目(SQL数据库)添加到网站项目中的App_Data文件夹中,现在出现以下错误。

"generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances." “禁用了在SQL Server中生成用户实例。使用sp_configure'已启用用户实例'来生成用户实例。”

Ok so I know I can create databases, and tables in the SMS Express, however I have a bunch of training material that is based on the above approach. 好的,所以我知道我可以在SMS Express中创建数据库和表格,但是我有一堆基于上述方法的培训材料。 SO can someone please help me with the above error please??? 所以有人可以帮我解决上述错误吗? Thanks very much..... 非常感谢.....

also should note that the above are installed on my home computer for learning purposes. 还应注意,以上内容已安装在我的家用计算机上,用于学习。

The following asp.net forum post has a possible solution: 以下asp.net论坛帖子有可能的解决方案:

http://forums.asp.net/p/1035148/1429516.aspx http://forums.asp.net/p/1035148/1429516.aspx

You have to run the following query 您必须运行以下查询

sp_configure 'user instances enabled', 1; sp_configure'已启用用户实例',1; RECONFIGURE 重新配置

This can be done in SMS express. 这可以在SMS Express中完成。

暂无
暂无

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

相关问题 Visual Web Developer 2008 Express需要SQL Server 2005而不是2008? - Visual Web Developer 2008 Express wanting SQL Server 2005 instead of 2008? sql server 2005 Express和sql server 2008开发人员版 - sql server 2005 express and sql server 2008 developer edition 通过Web同步将SQL Server 2008复制到SQL Express 2005 - SQL Server 2008 Replication to SQL Express 2005 via web sync 无法自动创建ASPNETDB.MDF-Visual Web Developer Express 2008 / SQL Express 2008 - Unable to Auto-Create ASPNETDB.MDF - Visual Web Developer Express 2008 / SQL Express 2008 在SQL Server 2008 Express之后安装SQL Server 2005 Express - SQL Server 2005 Express installed after SQL Server 2008 Express 是否将SQL Server Express 2008降级为SQL Server Express 2005? - Downgrading SQL Server Express 2008 to SQL Server Express 2005? 安装SQL Server 2008时,删除由Visual Studio 2008安装的SQL Server 2005 Express是否安全? - Is it safe to remove the SQL Server 2005 Express installed by Visual Studio 2008 when SQL Server 2008 is installed? 连接到SQL Server数据库文件需要SQL Server 2005 Express或SQL Server 2008 asp net - Connection to SQL Server database files requires SQL Server 2005 Express or SQL Server 2008 asp net Visual Studio 2008 Web Express:创建新的SQL Server数据库 - Visual Studio 2008 web express: create new SQL Server database 可以使用SQL Server 2005 Standard安装SQL Server 2008 Express - Can SQL Server 2008 Express be installed with SQL Server 2005 Standard
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM