dbTalk Databases Forums  

User Instances Not Supported

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss User Instances Not Supported in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fred Chateau
 
Posts: n/a

Default User Instances Not Supported - 12-12-2009 , 11:36 PM






Well, I got this bright idea to remove SQLExpress 2005 from my Visual Studio
2008 installation, and replace it with SQLExpress 2008, even though
SQLExpress 2005 was working just fine and dandy.

Now, when I try to attach a database, I get the following error in Visual
Studio, when the code calls the database: "You're trying to connect to a
database in your App_Data directory, and your SQL Server installation does
not support User Instances."

Now, I know for a fact that it does support User Instances, because I ran
"sp_configure" and verified that User Instances were already on. Any idea
what I'm missing here?

--
Regards,

Fred Chateau

Reply With Quote
  #2  
Old   
Fred Chateau
 
Posts: n/a

Default Re: User Instances Not Supported - 12-13-2009 , 02:51 PM






I got it...

Not sure what I did, except fool around with the permissions on the
database, and delete the old log.

One thing is that I gave full permissions to the user account, and then
after I attached the database, SQL deleted the user permissions and added
the MSSQL user, with full permissions. I didn't think SQL Server could
adjust permissions on a file, or perhaps it was the Server Explorer in
Visual Studio 2008 that did it.

--
Regards,

Fred Chateau


"Fred Chateau" <fchateau (AT) community (DOT) nospam> wrote

Quote:
Well, I got this bright idea to remove SQLExpress 2005 from my Visual
Studio 2008 installation, and replace it with SQLExpress 2008, even though
SQLExpress 2005 was working just fine and dandy.

Now, when I try to attach a database, I get the following error in Visual
Studio, when the code calls the database: "You're trying to connect to a
database in your App_Data directory, and your SQL Server installation does
not support User Instances."

Now, I know for a fact that it does support User Instances, because I ran
"sp_configure" and verified that User Instances were already on. Any idea
what I'm missing here?

--
Regards,

Fred Chateau



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.