Re: Not associated with a trusted SQL Server connection - Windows Serv
- From: "Val Mazur \(MVP\)" <group51a@xxxxxxxxxxx>
- Date: Fri, 3 Jun 2005 00:04:42 -0400
Hi Thomas,
What is your connection string?
--
Val Mazur
Microsoft MVP
http://xport.mvps.org
"Thomas Woods" <Thomas Woods@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:89EBC2EB-A11A-42F5-ADB9-604BD537F8D5@xxxxxxxxxxxxxxxx
> I'm developing a windows service on a workgroup. My database is set up
> for
> Mixed Mode Authentication and I'm logging on using a sql login. I've used
> sa
> and the blank password and I've also created a new user with a password
> and
> tried that as well. The service is running under the local machine
> account.
> All of the code works when I put it in a Windows Forms application, but
> not
> when it runs as a service. I'm using SQL Server 2000 on a Windows XP Pro
> machine. Can anyone explain this to me?
>
> The exact message is:
> Login failed for user 'sa'. Reason: Not associated with a trusted SQL
> Server
> connection.
.
- Follow-Ups:
- References:
- Not associated with a trusted SQL Server connection - Windows Serv
- From: Thomas Woods
- Not associated with a trusted SQL Server connection - Windows Serv
- Prev by Date: Re: DataGrid Update not picking up updated values!
- Next by Date: XML.NET - Inserting single element node into primary XML file
- Previous by thread: Not associated with a trusted SQL Server connection - Windows Serv
- Next by thread: Re: Not associated with a trusted SQL Server connection - Windows
- Index(es):
Relevant Pages
|