G
Guest
Hi, im using C#
Now im trying to get a connection to my database but i keep getting:
Exception Details: System.Data.SqlClient.SqlException: Cannot open database
"PafoDB" requested by the login. The login failed.
Login failed for user 'PAFO-3465A99C7D\Pafo'.
Im trying to use this connection string:
<add name="MyLocalSQLServer" connectionString="Database={PafoDB};Initial
Catalog=PafoDB;data source=localhost;Integrated Security=SSPI;" />
Just cant seem to get it to work, have tried everything i can think of. I am
using MSSQL server 2005
Now im trying to get a connection to my database but i keep getting:
Exception Details: System.Data.SqlClient.SqlException: Cannot open database
"PafoDB" requested by the login. The login failed.
Login failed for user 'PAFO-3465A99C7D\Pafo'.
Im trying to use this connection string:
<add name="MyLocalSQLServer" connectionString="Database={PafoDB};Initial
Catalog=PafoDB;data source=localhost;Integrated Security=SSPI;" />
Just cant seem to get it to work, have tried everything i can think of. I am
using MSSQL server 2005