Click here to Skip to main content
15,907,497 members
Home / Discussions / Database
   

Database

 
GeneralRe: IStream object string length error Pin
mjharvey27-Apr-05 16:44
mjharvey27-Apr-05 16:44 
GeneralView child records in datagrid Pin
Reinier Beeckman26-Apr-05 3:48
Reinier Beeckman26-Apr-05 3:48 
GeneralRe: View child records in datagrid Pin
NewSilence26-Apr-05 6:35
NewSilence26-Apr-05 6:35 
GeneralVS.NET and Stored Proceedures Pin
Jerry Hammond25-Apr-05 15:20
Jerry Hammond25-Apr-05 15:20 
GeneralRe: VS.NET and Stored Proceedures Pin
Illegal Operation25-Apr-05 21:31
Illegal Operation25-Apr-05 21:31 
GeneralRe: VS.NET and Stored Proceedures Pin
Jerry Hammond26-Apr-05 5:18
Jerry Hammond26-Apr-05 5:18 
GeneralOpen two tables in one form Pin
msnick25-Apr-05 14:53
msnick25-Apr-05 14:53 
GeneralSQL Server authentication problem Pin
JT Anderson25-Apr-05 12:29
JT Anderson25-Apr-05 12:29 
We have four systems, which I will designate as follows:

MySvr1 - Windows Server 2003 - MSDE 2000 SP3
MySvr2 - Windows Server 2003 - MSDE 2000 SP3
DbSvr1 - Windows Server 2000 - SQL Server 2000 SP3
DbSvr2 - Windows Server 2003 - SQL Server 2000 SP3

All of these systems are members of a domain that I'll call DOMAIN.

MySvr2 has a service running under the local system account. This service
wants to access a database using its domain computer account. We've created
a security group (call it SecGroup) that includes DOMAIN\MySvr2$ among its
members. We've created a database login for SecGroup on all four servers.

The service running on MySvr2 attempts to connect to the database using the
connect string:

Provider=sqloledb;Integrated Security=sspi;Initial Catalog=MyDatabase;Data
Source=servername

If the service attempts to connect to the database on MySvr2 or MySvr1 it
succeeds. Furthermore, if I remove the SecGroup login on MySvr1 and try to
connect, I get a login error message that indicates login failure for
"DOMAIN\MySvr2$". This is exactly what I would expect and hope for.

If we attempt to connect to the database on DbSvr1 we get a login failure:

IDispatch error #3149
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

If we attempt to connect to the database on DbSvr2 we get a login failure:

Unspecified error
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.

As one more test, we created a share on DbSvr1 with a file in it. We put an
ACL on the share, the underlying folder, and the file, that granted access
only to members of SecGroup. When I tried to access the file from MySvr2,
while logged in as myself, I got access denied (as expected). When the
service tried to access the file it was able to do so, and we could verify
that it had authenticated to DbSvr1 as DOMAIN\MySvr2$.

The TCP/IP transport is enabled on all four servers.

Anyone have any ideas as to what could be causing this? Any remedies?


--------
There are 10 types of people in this world. Those who know binary and those who don't.
GeneralRe: SQL Server authentication problem Pin
Albert Pascual26-Apr-05 6:25
sitebuilderAlbert Pascual26-Apr-05 6:25 
GeneralFormat int in select statement Pin
theol25-Apr-05 10:16
theol25-Apr-05 10:16 
GeneralRe: Format int in select statement Pin
Michael Potter27-Apr-05 3:08
Michael Potter27-Apr-05 3:08 
Generalview table from access database Pin
rana1838425-Apr-05 6:42
rana1838425-Apr-05 6:42 
GeneralRe: view table from access database Pin
ZHEKE4-May-05 18:01
sussZHEKE4-May-05 18:01 
GeneralRe: Derive Parameters (ODP .NET in C#) Pin
Mike Dimmick25-Apr-05 1:44
Mike Dimmick25-Apr-05 1:44 
GeneralRe: Derive Parameters (ODP .NET in C#) Pin
Nizar Abdeljaoued25-Apr-05 3:34
Nizar Abdeljaoued25-Apr-05 3:34 
GeneralTo create a mysql based application i need.... Pin
Sasuko24-Apr-05 13:53
Sasuko24-Apr-05 13:53 
GeneralRe: To create a mysql based application i need.... Pin
sudheerravindran24-Apr-05 18:54
sudheerravindran24-Apr-05 18:54 
GeneralProblem installing MS SQL Server 2000 Pin
vishalmishra24-Apr-05 13:41
vishalmishra24-Apr-05 13:41 
GeneralRe: Problem installing MS SQL Server 2000 Pin
Mike Dimmick24-Apr-05 22:55
Mike Dimmick24-Apr-05 22:55 
Generalview the tables in access database Pin
rana1838424-Apr-05 10:39
rana1838424-Apr-05 10:39 
GeneralRe: view the tables in access database Pin
numbrel25-Apr-05 3:51
numbrel25-Apr-05 3:51 
GeneralRe: view the tables in access database Pin
zheke4-May-05 18:05
susszheke4-May-05 18:05 
GeneralACCESS 2003 Inner join Clause problem Pin
Greeky24-Apr-05 7:19
Greeky24-Apr-05 7:19 
GeneralRe: ACCESS 2003 Inner join Clause problem Pin
radasys24-Apr-05 7:45
radasys24-Apr-05 7:45 
GeneralRe: ACCESS 2003 Inner join Clause problem Pin
Greeky24-Apr-05 8:04
Greeky24-Apr-05 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.