Reputation: 145
In Dynamics AX 2012 Development mode when I try to open shared project 75% of time I have this error :
xPropertySetData::unpack : Property not found : 2880
When I press "OK", dynamics AX is closed. I'm not working with my local AOS. We connect to the AOS on a server.
I have seen this error in other sites and no one has a solution to the issue.
Upvotes: 1
Views: 827
Reputation: 6706
I suppose you're a System administrator
in AX (to rule out problems with privileges)?
Did you try clearing the usage data (Tools > Options > User data > Reset)?
Did you try removing the AUC file from your application data folder?
Did you try recompiling the application?
Are Ax32Serv.exe and Ax32.exe of the same version?
Did you try restarting the AOS('s)?
Do you have only one AOS in that environment? If not, do you have the same problem when you connect to another AOS?
P.S. And of course, if the problem is only with one project, why not delete it and create a new one with the same objects?
Upvotes: 3
Reputation: 11544
Did this code originate from AX 2009? I'm trying to interpret the error, and the xPropertySetData::unpack
sounds like a traditional pack/unpack and the property 2880 isn't matching up to the expected variable.
Right click the project itself (don't open) and click properties, and try re-setting each property. If it's named "myproject", re-type it so that it will re-pack that new variable in.
This makes me think if you can export it, you might be able to import and AX 2012 can handle the up-converting.
In AX 2009, I believe properties are referenced by name, and not by Id, which it appears to be in this case. I don't have a 2012 environment, but check \Macros\Properties and see if that index is in there and if that gives you any clue.
Modify this job and see if it can help you find any more information and examine the objects in question.
static void Job67(Args _args)
{
ProjectNode customProject;
str temp;
TreeNode node;
;
customProject = infoLog.projectRootNode().AOTfindChild('Shared').AOTfindChild('YourProjectHere');
node = TreeNode::findNode(@'\Data dictionary\Tables\CustTable');
temp = customProject.AOTgetProperties(true, true);
info(temp);
temp = node.AOTgetProperties(true, true);
info(temp);
}
Upvotes: 2