Solved

Generating user instances in SQL Server is disabled.

Posted on 2008-10-03
4
619 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create a Dropdown list with sub group 10 43
When to use a Unique Index? A Clustered Index? 5 76
AJAX Create / Update Not working MVC 5 67
Datagridview column resizing 8 28
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

752 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