Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Stuart Trotter on December 23, 2009, 09:27:22 am

Title: Com Exception with Audit
Post by: Stuart Trotter on December 23, 2009, 09:27:22 am
I'm hoping someone has an idea of how to sort this because it's really frustrating. I have an application which exports xmi from one project and then imports it into another project. The problem I have is that everything works great with auditing switched off in the target project, however if auditing is enabled then a few of the packages are processed but one of the larger ones fails with a COM exception from EA!

The error reads as follows:

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

The line of code which produces it is very straightforward and as mentioned before works fine without auditing:

project.ImportPackageXMI(previousPackage.PackageGUID, xmiFileName, 1, 0);

Any ideas would be greatly appreciated.

Thanks,
Stuart
Title: Re: Com Exception with Audit
Post by: Geert Bellekens on December 23, 2009, 06:25:32 pm
Stuart,

You better report that to Sparx though the official channel using the link on the bottom of the page.

Geert