I have a program running on a Domain Computer that accesses and modifies the XDS database.
The host/computer is a member of the 'Domain Computers' on the AD.
The program is unable to access/modify the database. (It is expected). The error message is shown below.
Now, I make the host/computer a member of RTCUniversalServerAdmins on the AD and save the changes. I still see the same problem.
I make the computer unjoin the domain and rejoin the domain. Then I do not have any problem. Is this expected?
AD changes behave similarly for removal of a security privilege as well. When I remove the security privilege on AD, I expect to see the error, but no.. I don't. The computer's attempts to access/modify the XDS database keeps running successfully until it gets itself removed from the domain and joined to the domain. Then it starts seeing the errors as desired. Is that also expected or known behavior (even though it does not seem right)?
Exception occured Cannot open database "xds" requested by the login. The login failed.
Login failed for user 'JJH\ASH1$'.. Could not connect to SQL server : [Exception=System.Data.SqlClient.SqlException (0x80131904): Cannot open database "xds" requested by the login. The login failed.
Login failed for user 'JJH\ASH1$'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)^M at System.Data.SqlClient.Td
Thanks,