[英]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.