Book a Demo

Author Topic: QueryInterface EA.IDualRepository failed  (Read 5084 times)

futuros

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
QueryInterface EA.IDualRepository failed
« 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.

:(

BenjaminCervera

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: QueryInterface EA.IDualRepository failed
« Reply #1 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?

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: QueryInterface EA.IDualRepository failed
« Reply #2 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.