Re: unable to connect to sql db
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 17:15:38 +0100
"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: Steve
- 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
- unable to connect to sql db
- Prev by Date: Re: ActiveX Control on Web Page
- Next by Date: Re: C# 2.0 (Lotus Notes 6 & 7) Create mail document in draft folder for Lotus Notes
- Previous by thread: Re: unable to connect to sql db
- Next by thread: Re: unable to connect to sql db
- Index(es):
Relevant Pages
|