G
gerry
Visual Studio 2008 sp1 Developer & Database editions , .NET 3.5 sp1
I created a "Database Project" project that references 2 local sqlserver
express 2005 database files
When I try to run a schema compare in Visual Studio ( Data > Schema Compare
:
Cannot open the database "C:\....\db.mdf" requested by the login. The
login failed.
Login failed for user MYDOMAIN\MyLogin
I also tried creating a new "SQL Server 2005 Wizard" project and it fails
with the same error when attempting to do the initial schema import.
Using different SqlServer express database files makes no difference - same
error.
Server Explorer in Visual Studio has no problem accessing these databases ,
SqlServer Managerment Studio Express has no problem accessing these
databases ,
SqlServer Managerment Studio Express shows that my login has full access to
both databases.
Why am I getting login errors doing a schema compare even though I have full
access to both databases and do not have this issue using the same login in
other apps.
Gerry
I created a "Database Project" project that references 2 local sqlserver
express 2005 database files
When I try to run a schema compare in Visual Studio ( Data > Schema Compare
Schema information could not be retrieved because of the following errorNew Schema Comparison ) I get the following error :
:
Cannot open the database "C:\....\db.mdf" requested by the login. The
login failed.
Login failed for user MYDOMAIN\MyLogin
I also tried creating a new "SQL Server 2005 Wizard" project and it fails
with the same error when attempting to do the initial schema import.
Using different SqlServer express database files makes no difference - same
error.
Server Explorer in Visual Studio has no problem accessing these databases ,
SqlServer Managerment Studio Express has no problem accessing these
databases ,
SqlServer Managerment Studio Express shows that my login has full access to
both databases.
Why am I getting login errors doing a schema compare even though I have full
access to both databases and do not have this issue using the same login in
other apps.
Gerry