Re: unable to connect to sql db
- From: "Steve" <Steve@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 12:32:54 -0400
well, I'm not going to show my actualy Id and pwd, but yeah I have the id
and password on my sql server, and I gave it dbowner permission for the
database I need to access with the id and pwd and no luck
"Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx> wrote in message
news:%23y%23C76Y6HHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
"Steve" <Steve@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:ezy5zeY6HHA.5316@xxxxxxxxxxxxxxxxxxxxxxx
The error i'm getting is
'login failed for user 'username'
I have this as my connection string
<add key="dbConnection"
value="Server=DBServerTest;Database=SalesForTheYear;User
ID=username;Password=password;Trusted_Connection=False;"/>
now, this same connection string works on DBServerDev fine with the same
ID and pwd
You've actually created a SQL login called 'username' and given it a
password of 'password'...?
On the assumption that you have, does that login exist on the DBServerTest
box and, if so, does it have the necessary permissions to access the
SalesForTheYear database...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- Re: unable to connect to sql db
- From: Mark Rae [MVP]
- Re: unable to connect to sql db
- References:
- unable to connect to sql db
- From: Steve
- Re: unable to connect to sql db
- From: ciccone1978
- Re: unable to connect to sql db
- From: Steve
- Re: unable to connect to sql db
- From: ciccone1978
- Re: unable to connect to sql db
- From: Steve
- Re: unable to connect to sql db
- From: Mark Rae [MVP]
- unable to connect to sql db
- Prev by Date: Page lifecycle, specific events question.
- Next by Date: Need some architectural advice for designing a provider
- Previous by thread: Re: unable to connect to sql db
- Next by thread: Re: unable to connect to sql db
- Index(es):
Relevant Pages
|