Solved

Generating user instances in SQL Server is disabled.

Posted on 2008-10-03
4
625 Views
Last Modified: 2013-11-26
When I try and create a New SQL Database in Visual Studio Solution Explorer, I get

Generating user instances in SQL Server is disabled.

This is using Visual Studio 2005, since I want to build this with VS 2005 and SQL Server 2005.  I have the 2008 versions of each on my machine as well.

How do I test if Visual Studio 2005 is using SQL 2005?  And what shall I do to fix this?

thanks,
newbieweb
0
Comment
Question by:newbieweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 37

Assisted Solution

by:momi_sabag
momi_sabag earned 100 total points
ID: 22639654
0
 
LVL 5

Accepted Solution

by:
gemailj earned 200 total points
ID: 22640394
http://dotnetslackers.com/SQL/re-60482_Generating_user_instances_in_SQL_Server_is_disabled_Use_sp_configure_user_instances_enabled_to_generate_user_instances.aspx

run this system procedure using management studio

exec sp_configure 'user instances enabled', 1

Open in new window

0
 

Author Comment

by:newbieweb
ID: 22640673
My management studio is 2008.  But when I run it inside a Query I get:

Msg 15123, Level 16, State 1, Procedure sp_configure, Line 51
The configuration option 'user instances enabled' does not exist, or it may be an advanced option.

Additionally,when I open management studio I am asked this question.   Does this have anything to do with my problem?

TITLE: Microsoft SQL Server Management Studio
------------------------------

There are SQL Server 2005 Management Studio registered servers on this system. Do you want to add them into Microsoft SQL Server Management Studio? Adding the server registration information has no effect on the servers themselves.

------------------------------
BUTTONS:

Yes
No
------------------------------
0
 
LVL 51

Assisted Solution

by:Mark Wills
Mark Wills earned 200 total points
ID: 22641799
If you want to keep using just the 2008 SSMS, then click yes. It means you can see both 2008 and 2005 servers from the one SSMS.

You will have to turn on advanced options first...   EXEC sp_configure 'show advanced option', '1';

0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question