Solved

Generating user instances in SQL Server is disabled.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now