Hey Jeff,
I too am integrating AX 2009 with CA. I'm just getting started. I think what you need is a more in-depth error message, as the one you are getting is the "catch all". Try this in your catch:
}
catch (Exception::CLRError)
{
ex = CLRInterop::getLastException();
info(ex.ToString());
return SyncResult;
}
catch (Exception::CodeAccessSecurity)
{
info("Code Access Security Error");
return SyncResult;
}
catch (Exception::Internal)
{
ex = CLRInterop::getLastException();
if (ex)
{
info(ex.ToString());
}
else
{
info("Internal Error");
}
return SyncResult;
}
catch (Exception::Error)
{
info("None of it worked (generic Exception)");
return SyncResult;
}
}
I would be very interested in sharing code with you, as I have run into a few bumps myself.