Author Topic: (EA 4.1) third execution of AI fails !!!  (Read 5053 times)

futuros

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
(EA 4.1) third execution of AI fails !!!
« on: August 31, 2004, 04:11:22 am »
Hi gurus,

I have big problem and I didn't find solution yet. It is a question of life and death.

   I have programmed Application (VS.net) that use AI, and I spend many days to run it with EA 3.6.
   After updating into version 4.1, a big problem occured. I can't run this application anymore. What's wrong? Do I need rewrite code, becouse in EA 4.1 is not supported class Repository ?

  And the problem is very confusing. Code fails when this is called 3-times ... (c#)

this.myRepository = new EA.RepositoryClass();

I'm trying search for error using REGMON, but I not sure, if this is a problem of Accessibility.

If you have advice or solution, please write me in reply. Thank you o lot of yet
« Last Edit: August 31, 2004, 05:16:30 am by futuros »

thomaskilian

  • Guest

futuros

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: (EA 4.1) third execution of AI fails !!!
« Reply #2 on: August 31, 2004, 04:28:15 am »
I not sure if I wrote about my problem more details. I'm not working on ADD-In, I works web application (asp.net c#) which parse throght model and generate output - into html. I used EA.Repository class (I add refernce throght Visual Studio.Net)

 But now, when I reinstall new EA, this won't works and I also found new EA.App class - so I not sure, if I must rewrite code.

  Or maybe (probably) miss point absolutely. Can you please be more specific, what I need to do ? Thanks

thomaskilian

  • Guest
Re: (EA 4.1) third execution of AI fails !!!
« Reply #3 on: August 31, 2004, 04:36:57 am »
Maybe you use the wrong libraries? Just a guess...

futuros

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: (EA 4.1) third execution of AI fails !!!
« Reply #4 on: August 31, 2004, 05:18:26 am »
Fuhhh,

finally I got it. The problem was elsewhere. I didn't use magical

                 this.myRepository.CloseFile();
     this.myRepository.Exit();

so That's the way life goes.