G
Guest
In my Windows application, I am attempting to access an SQL database called
PhotoAlbum.mdf. I keep receiving the following error:
Cannot open database "PhotoAlbum" requested by the login. The login failed.
Login failed for user 'William\Will'.
Here is my connection string:
"data source=.\\SQLEXPRESS;initial catalog=PhotoAlbum;" +
"integrated security=SSPI;persist security info=False;" +
"workstation id=WILLIAM;packet size=4096";
I have also tried:
"Data Source=.\\SQLEXPRESS;" +
"AttachDbFilename=PhotoAlbum.mdf;Integrated Security=True;" +
"User Instance=True";
which also met with problems of a different nature.
I am running SQL 2005 Beta 2 on a Windows XP Pro machine w/SP2.
Any insight would be appreciated.
PhotoAlbum.mdf. I keep receiving the following error:
Cannot open database "PhotoAlbum" requested by the login. The login failed.
Login failed for user 'William\Will'.
Here is my connection string:
"data source=.\\SQLEXPRESS;initial catalog=PhotoAlbum;" +
"integrated security=SSPI;persist security info=False;" +
"workstation id=WILLIAM;packet size=4096";
I have also tried:
"Data Source=.\\SQLEXPRESS;" +
"AttachDbFilename=PhotoAlbum.mdf;Integrated Security=True;" +
"User Instance=True";
which also met with problems of a different nature.
I am running SQL 2005 Beta 2 on a Windows XP Pro machine w/SP2.
Any insight would be appreciated.