xPropertySetData::unpack : Property not found : 1024/2056

xPropertySetData::unpack : Property not found : 1024/2056

This happened after an upgrade process. When a user started a specific report and wanted to set a query, the client crashed (Ax32.exe - Fatal Application Exit).

This was only happening to specific users, and with the queries of specific reports. The report itself could be run by the user, as long as the user didn't try to modify the query.

I began to investigate the problem and found this solution in a post
I tryed stop/start AOS, recompiling and synchronizing.

I read the posted and did som investigation myself and concluded the same as in the post that that the client crashed when executing code in class SysQueryForm, method QueryUnpack.

When trying to create a new query object with old saved data, the client crashed.

SOLUTION:
First try to clear user data that can be reset in Dyn AX. Administration\User\Userdata.

Second try not to use those old saved queries, just use those of the current version. (replace if (queryPack_V25) with if(false)).

Both soultions worked but the first does not require new code. That's why i recommend using the first.

Comments

  1. Hi,

    None of these worked for me... to sort out, i had to reindex the objects.

    ReplyDelete
  2. Hi, I am hasan in indonesia.
    I have a problem with Axapta 4.0
    there is an error says:
    xPropertySetData::unpack : Property not found : 2560.
    It is showed after set Administration->security->user group permission.
    plese help for this case.
    Thank you

    ReplyDelete

Post a Comment

Popular posts from this blog

How to disable auto enabled flight key using KillSwitch

Technical intro to Feature management in D365FO

Continuous integration and deployment Power platform FinOps tweaking