all groups > sql server connect > may 2004 >
You're in the

sql server connect

group:

Newbie Connection problems


Newbie Connection problems brough.tony NO[at]SPAM btinternet.com
5/29/2004 1:38:17 PM
sql server connect:
Hi All

I am running a website on one server and need to be able to connect to
SQL 2000 on another server. When I try to connect to the SQL server
in an asp.net application I get the following error:

Login failed for user 'Domain\Server$'

How do I configure SQL to allow the other IIS server to connect.


TIA

Re: Newbie Connection problems Paul Ibison
5/30/2004 11:46:54 AM
Tony,
please can you post up your connectionstring that the SQLConnection object
is using. Also, do you want to use SQL authentication or Trusted, and what
is your SQL Server configured to allow - Mixed or Windows.
TIA,
Paul Ibison

RE: Newbie Connection problems rboyd NO[at]SPAM onlinemicrosoft.com
6/1/2004 3:23:41 PM
From the error message it appears that the machine account is attempting to
connect to SQL Server, not a user account. You can get the connection to
work by adding a login for the machine account: Domain\server$. This is a
AD accounta nd many application use it to connect to SQL Server. It is
basically the machine system account.

Rand
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button