G
Guest
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.
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.