Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You receive System Message 9891 when you try to change the Windows user account ID


View products that this article applies to.

Symptoms

Consider the following scenario in Microsoft Dynamics SL:

1. You create and save a new user who has a Windows Account ID in User Maintenance (95.260.00).
2. When you go back in to User Maintenance (95.260.00) and try to change the users Windows Account ID, you receive: 

System Message 9891 -User is the default Microsoft Dynamics SL user for domain\windows account, please define a new default Microsoft Dynamics SL user for domain\windows account before deleting or updating User.


↑ Back to the top


Resolution

Option 1

You can delete the user IF that is the only SL User ID tied to the given Windows Account ID. If you first try to do what the error message says and set up a second user, then you still cannot update the original user and now you will be unable to delete it either. You would have to delete the second user first, and then delete the original user, and then re-setup the new user. 

Option 2

Make sure that you have a current backup of your database before you run the SQL statement that is shown here.

update UserRec set WindowsUserAcct = 'New domain/username' where UserId = 'users SL id'

New domain/username = replace with your new domain and username

users SL id = replace with your Microsoft Dynamics SL user ID

↑ Back to the top


More Information

The problem was corrected in Microsoft Dynamics SL 9.0.

↑ Back to the top


Keywords: kbmbsmigrate, kbmbspartner, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2953134
Revision : 2
Created on : 2/3/2017
Published on : 2/3/2017
Exists online : False
Views : 197