Re: How do I use sp_configure 'user instances enabled'



Did you RECONFIGURE?
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'user instances enabled', 1;
GO
RECONFIGURE;
GO
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.

"Henry Stock" <henry@xxxxxxxxxxxxxxx> wrote in message news:O5Uz7S3xIHA.2384@xxxxxxxxxxxxxxxxxxxxxxx
I am trying to connect to a demo version of the Northwind.mdf database file that goes along with a Microsoft tutorial on ASP.NET

I have a running version of SQL SERVER Express on my system and whether I try to attach to the database file using Server Managment Studio Express or through Viusal Studio 2005 pro I am getting the same error message:
Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.

I have tried to run this command from the server managment studio from a script window'
sp_configure 'user instances enabled'

The result say query executed successfully

name users instances enabled Minimum 0 Maximum 1 Config_value 0 run_value 0

But I STILL cannot connect to or attach this database file

So my question is what am I doing wrong? I can't use a database that I can't attach to the server, and I can attach the database file to the server until O figure out what the hell the dammed message is telling me.

Asking for help!

Sincerely Henry Stock henry@xxxxxxxxxxxxxxx



.



Relevant Pages

  • Re: How do I use sp_configure user instances enabled
    ... Message="Generating user instances in SQL Server is disabled. ... owningObject, SqlConnectionString connectionOptions, Int64 timerStart) ... owningObject, SqlConnectionString connectionOptions, String newPassword, ... I have a running version of SQL SERVER Express on my system and whether I ...
    (microsoft.public.sqlserver.connect)
  • Re: Connection string for MSDE 2000
    ... database file by specifying a file name in connectionString. ... server with SQL Server Express 2005 installed locally. ... i've tried using the following connection string in my ...
    (microsoft.public.sqlserver.msde)
  • How do I use sp_configure user instances enabled
    ... I am trying to connect to a demo version of the Northwind.mdf database file ... I have a running version of SQL SERVER Express on my system and whether I ... Generating user instances in SQL Server is disabled. ... But I STILL cannot connect to or attach this database file ...
    (microsoft.public.sqlserver.connect)
  • Re: Securing the MDF file
    ... Are you talking about some random user or ... of SQL Server to the SQL Server service account, the DBAs, the ... the file and reading the information in that database file? ...
    (microsoft.public.sqlserver.security)
  • W2000K Prof SP3 + all MS Hotfixes - IE Security Question
    ... Roaming profiles! ... >I would like to force all user instances of IE (5.x and ... >directories on the server for their ... >Best regards ...
    (microsoft.public.win2000.security)

Loading