Comment 20 for bug 1064804

Revision history for this message
Mun Wai Chan (munwai) wrote :

Hi Jv,

>>1. When working in the unmanaged context, it is worth trying the STAThread
attribute on the method.

Tried adding this and it still crashes.

>>2. Try adding a role for the user with ax32.exe (if it already exists,
please post the role). Plus test permission sets and any admin tasks that
was done during installation of Ax.

I am a domain and Ax admin.

>>3. It looks like with messages on "marshalling" and Domain usage: Single,
it could well be related to the CLR, the GAC and the Dll context. These are
vague references that can be clarified if you walk us through your
installation type of AX, the CLR version, the roles and permission sets.

The thing is why does it work for MSTest but not NUnit? Which makes me think that it is not related to permissions.

Thanks,

Mun Wai