Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: futuros on June 13, 2004, 01:04:47 pm

Title: QueryInterface EA.IDualRepository failed
Post by: futuros on June 13, 2004, 01:04:47 pm
Hi gurus,

please, If you have solution for my problem bellow, explain me that, I tryed allmost everything.

I work on ASP.NET application witch use EA.Repository as interface. But some time (!!!) when I try open EAP file using ASP.NET application

1.  this.myRepository = new EA.RepositoryClass();
2.  this.myRepository.OpenFile(System.Convert.ToString(Session["EAfile"]));

it fails on 2 and server returned

QueryInterface for interface EA.IDualRepository failed

Exception Details: System.InvalidCastException: QueryInterface for interface EA.IDualRepository failed.

what is wrong ? Some time this works, some time doesn't.

:(
Title: Re: QueryInterface EA.IDualRepository failed
Post by: BenjaminCervera on December 14, 2018, 02:55:44 am
Hello Futuros

I know this is an old thread, but how did you get through the problem?
Title: Re: QueryInterface EA.IDualRepository failed
Post by: Glassboy on December 14, 2018, 09:00:05 am
Hello Futuros

I know this is an old thread, but how did you get through the problem?

Please do not create Zombie threads.  If you have an issue can you create a new post with details relevant to your situation.