Jump to content

Recommended Posts

Posted

When trying to copy a database from one Sql Server to another, I'm getting a 12550 error in the event log which reads:-

 

* InnerException-->Windows NT user or group '{removed for security}' not found. Check the name again.

 

The username relates to a user who has long since been deleted. I've looked in SSMS under both Security/Logins as well as under {database name}/security/users and can't see any refernece to this user.

 

I've tried re-adding this user in AD, which seems to resolve it but it then fails on a different deleted user (I know there may be a few "ghost" accounts for former technicians involved in this issue.

 

Obviously I need to find and remove the references to these former technicians accounts, but I have no idea where to look now.

 

Can anyone offer any insights as it's battering my tiny mind

Posted

Yeah - I looked at that, and the query

SELECT name, sid, principal_id
FROM sys.database_principals 
WHERE type = 'S' 
 AND name NOT IN ('guest', 'INFORMATION_SCHEMA', 'sys')
 AND authentication_type_desc = 'INSTANCE';

gave an error sayign

 

Msg 207, Level 16, State 1, Line 5
Invalid column name 'authentication_type_desc'.

 

I'm at my wits end with this now. I've even (apparently) got a local account on one server which means transferring that database causes an error on the new server.

 

I'm not sure quite how this has been set up by my precessors, but it's a bit of a nightmare

Posted (edited)
I'm guessing this is an older SQL server? My 2k8r2 server doesn't have that column either. 2016 works though. Edited by Geoff

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...