Book a Demo

Author Topic: Difficulties with an thrown exception  (Read 3168 times)

Seba

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Difficulties with an thrown exception
« on: February 19, 2008, 12:15:52 am »
Hello,

I use the Interop.EA.dll for Reverse Engineering. The generated eap-file is stored in a prepared MySQL database. For a couple of days it works really well without any problems, but now the ea.exe throws an unhandled exception, when the database is used by someone else or is making a backup. The generated popup blocks my running process and leads to a timeout error of my application.

Is there any solution to that problem?

thx in advance,
Sebastian
« Last Edit: February 19, 2008, 12:17:07 am by SebastianQ »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Difficulties with an thrown exception
« Reply #1 on: February 19, 2008, 12:27:51 am »
Take a look at your connection string. Is there any chance you or the other user are attempting exclusive access?
No, you can't have it!

Seba

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Difficulties with an thrown exception
« Reply #2 on: February 19, 2008, 01:32:06 am »
Hi Mid-night,

as far as I know not, because all are using the following connection string:

ea-mysql2 --- DBType=0;Connect=Provider=MSDASQL.1;Persist Security Info=False;Data Source=EA-MYSQL

My first thought was that the database could not handle so many user requests, but that was not the problem. Could it be that the import or open request of someone or the backup process blocks the database so that the import or open statement of my application could not be executed correctly?

I have to note that an open statement on the database costs at the moment approximately 50 seconds.

thx in advance,
Sebastian

thomaskilian

  • Guest
Re: Difficulties with an thrown exception
« Reply #3 on: February 19, 2008, 02:05:15 am »
It might be connected with the MySQL ODBC driver. Just a shot in the dark. Maybe you could google for that...