Error [CFGObjectNotFound] Please Help Me!

Hi all,

It doesn’t understand though the error went out.
RequestReadObject has succeeded.
Please teach someone.

— ErrLog ---------------------------
20:01:56.046 Trc 24211 Object [CfgPersonUpdate], DBID [0] is to be changed by client, type [SCE], name: [default], user: [default]
20:01:56.046 Trc 24218 Transaction [35] is sent on execution
20:01:56.046 Trc 24217 Transaction [35] is rolled back

MSGCFG_ERROR
attr: IATRCFG_ERRORCODE value: 10
attr: SATRCFG_DESCRIPTION value: “No object found for the delta [CfgPersonUpdate], DBID [0]”
attr: IATRCFG_REQUESTID value: 3

20:01:56.046 Std 23500 Configuration Server Error : Error [CFGObjectNotFound], object , property [Unknown] Description No object found for the delta [CfgPersonUpdate], DBID [0]

— soruce code [C#]---------------------

string strDoc = “<?xml version=\"1.0\" encoding=\"utf-8\"?><DBID value="105" /><tenantDBID value="101" /><lastName value="Doe3" /><firstName value="John5" /><employeeID value="1223242356789" /><userName value="jd3" /><isAgent value="2" /><placeDBID value="0" /><capacityRuleDBID value="0" /><isAdmin value="1" /><state value="1" />”;
doc.LoadXml(strDoc);
RequestUpdateObject req =
RequestUpdateObject.Create(
(int)ConfServerObjectType.Person,
doc
);
IMessage msg = mCfgProtocol.Request(req);

Do we need to provide person DBID (DBID value="105" /) while creating or let config server/db assign it?

Thanks.

1 Like

Thank you for the answer.

When explaining in detail

I want to change firstName of ID(DBID=105) that is already.

-----Information that changes ----------------

-----DBID=105 DATA XML-------------

<?xml version="1.0" encoding="UTF-8"?>

I am sorry, I got it wrong (thought that was to create ???)

For updating first name try xml below-

<?xml version="1.0" encoding="UTF-8"?>

Delta tag is the key.

Thanks.

1 Like

To Mr. SisB

It succeeded.
It did not know that Delta Tag was the key.

Thank you for Mr. SisB.

It is a question by the addition.

This time, it doesn’t go well though it tries to do the skilllevel in Updete.

What XML do you only have to throw out?

It is a tried sample as follows.

My best regards.

—XML1----------

<?xml version="1.0" encoding="UTF-8"?>

—XML2

<?xml version="1.0" encoding="UTF-16"?>