cancel
Showing results for 
Search instead for 
Did you mean: 

error when trying to create XUSER information for SAPServiceSID

arsnlgunnr
Participant
0 Kudos

Hi all,

I am getting the following error when trying to create the XUSER information for the SAPServiceSID user on a WINDOWS/MAXDB 7.9 install..  Does anyone know a FIX for this?

>xuser -c .\SAPServiceSID -U c -u CONTROL,P@ssw0rd -d SID -n HOSTNAME -S INTERNAL -t 0 -I 0 set


FATAL: Close xuser entry failed: could not write USER data [1307]

I am running the command as the SIDADM user. 

I have tried the solutions in the following notes without success:

39642

1542818

39439

1875264

1409913

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

srinivasan_vinayagam
Active Contributor
0 Kudos

Hi Jayson,

Try this.

Solution

Add the "Administrators" group under:

Control Panel
-> All Control Panel Items
   -> Administrative Tools
      -> Local Security Policy
         -> Local Policies
            -> User Rights Assignment
              -> Take ownership of files or other objects

You check you command and modify.

xuser.exe -c Hostname\SAPServiceSID -U DEFAULT -u Username, Password -d SID -n Hostname -S Schema_Name -t 0 -I 0 set'

Regards,

V Srinivasan

Former Member
0 Kudos

Hi Jayson,

Did you get a solution to this? I am having the same issue on windows 2012 MaxDB (Content Server 6.50).

Thanks

gabriella_kiss
Participant
0 Kudos

Hi,

FATAL: Close xuser entry failed: could not write USER data [1307] means:
"
from microsoft docu:
"
System error code 1307 means "This security ID may not be assigned as
the owner of this object." This error code may also display as
"ERROR_INVALID_OWNER" or as the value 0x51B
"

this  looks like user permission issue

check if your user is in group "SDB Operators" or "Administrators"
then when you execute it in "cmd" session , run cmd session
with right click "as Admin"

regards Gabriella