Re: SQL Server Management Studio Cannot Open SQL Express Files
- From: Ekrem Önsoy <ekrem@xxxxxxxxxxxx>
- Date: Wed, 28 Jan 2009 23:38:26 +0200
May there be two separate instances are installed on your computer?
I suggest you to open SQL Server Configuration Manager and see how many SQL Server instances are installed and you can see what instance of SQL Server is being used by VS from VS's Tools->Options->Database Tools->Data Connections.
Your databases that you create may be attached to the instance "X" and the instance that you connect from SSMS may be instance "Y" and because databases can be attached only to one instance, you experience this problem.
Note:
When you have SSMS installed on your computer, you don't need SSMSE (Express edition of SSMS) because SSMSE is a light version of SSMS which comes with not-for-free SQL Server editions.
--
Ekrem Önsoy
"EagleRed@xxxxxxxxxxxxxxxxxxx" <EagleRedHighFlyingBirdscom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:FEFDB265-5936-473D-B764-D8049639F018@xxxxxxxxxxxxxxxx
I am writing an application on a Vista machine with SQL Server 2005 Developer
Edition installed using VS2005 Team Architect. I also have SQL Express
installed. I have a requirement to develop and deploy a Web service that
connects to a SQL Express database.
Here is the problem. If I create the database in VS2005 using the
Membership wizard, I can create the database in the App_Data directory and I
can work with it in the Server Explorer. However, I cannot open the files in
the Management Studio to perform any administrative functions like creating
logons and setting permissions.
If I create the DB in Management Studio I cannot work with it in VS2005.
In both case I get access denied errors on the files in the alternate
environment. Since I have the main Management Studio running on the machine
I cannot install the SQL Express Management Studio.
How can I resolve this so I can work with the database in VS2005 and in
Management Studio?
Any pertinent input is greately appreciated.
Thanks,
Eagle
.
- Follow-Ups:
- Re: SQL Server Management Studio Cannot Open SQL Express Files
- From: EagleRed@HighFlyingBirds.com
- Re: SQL Server Management Studio Cannot Open SQL Express Files
- References:
- SQL Server Management Studio Cannot Open SQL Express Files
- From: EagleRed@HighFlyingBirds.com
- SQL Server Management Studio Cannot Open SQL Express Files
- Prev by Date: Re: job notifications via db mail on x64 SQL 2k5, through EM ?
- Next by Date: Re: job notifications via db mail on x64 SQL 2k5, through EM ?
- Previous by thread: SQL Server Management Studio Cannot Open SQL Express Files
- Next by thread: Re: SQL Server Management Studio Cannot Open SQL Express Files
- Index(es):
Relevant Pages
|