i have installed sql Server 2000 and im trying to connect to a database with the connection string
string connString = @"server=FINTANSPC; uid=sa; pwd=; database=northwind";
it wont work, so i tried
string connString = @"server=localhost; uid=sa; pwd=; database=northwind";
on the first it says "login failed for user sa. Reason: not associated with a trusted sql server connection.
on the second connection string i am told the sql server doesnt exist. how come i cant connect using either string? should the localhost not return the same as the other server name, as they are both the same?
(by the way, the name of my pc on my little home network is FINTANSPC)
string connString = @"server=FINTANSPC; uid=sa; pwd=; database=northwind";
it wont work, so i tried
string connString = @"server=localhost; uid=sa; pwd=; database=northwind";
on the first it says "login failed for user sa. Reason: not associated with a trusted sql server connection.
on the second connection string i am told the sql server doesnt exist. how come i cant connect using either string? should the localhost not return the same as the other server name, as they are both the same?
(by the way, the name of my pc on my little home network is FINTANSPC)