Book a Demo

Author Topic: OLE DB Provider for ODBC err when open a diagram  (Read 52624 times)

fknEA

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
OLE DB Provider for ODBC err when open a diagram
« on: June 22, 2013, 10:07:35 am »
Always have 0x80040E14 (DB_E_ERRORSINCOMMAND) when opening a diagram.

Even when I create an empty repository with one empty diagram only I get it.  Any suggestions ?

Database is MySQL. The driver is ANSY 5.2 and all sparx suggested parameters (matched vs affected and large sets) are set correctly.

I spent 4 hours searching here for answers but no success

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #1 on: June 22, 2013, 10:34:53 pm »
Have a look into %appdata%/sparx.../dberror.txt

q.

fknEA

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #2 on: June 23, 2013, 09:17:24 am »
I wish I could.
I am an administrator on this windows 7 piece of garbage and I have no access to the ApplicationData folder and there is no way for me to change the permissions. "Access Denied" all the way.

... cant figure out the fkn windows anymore. It seems with each version it's loosing its grip on reality more and more.

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #4 on: June 24, 2013, 08:47:55 pm »
Quote
I wish I could.
I am an administrator on this windows 7 piece of garbage and I have no access to the ApplicationData folder and there is no way for me to change the permissions. "Access Denied" all the way.

... cant figure out the fkn windows anymore. It seems with each version it's loosing its grip on reality more and more.

You are looking at the wrong folder. Type: %appdata% in the address bar of your windows explorer and start from there.
That should bring you to a folder in your own profile, completely read-write.

Geert

fknEA

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #5 on: August 23, 2013, 04:44:41 pm »
Quote
Quote
I wish I could.
I am an administrator on this windows 7 piece of garbage and I have no access to the ApplicationData folder and there is no way for me to change the permissions. "Access Denied" all the way.

... cant figure out the fkn windows anymore. It seems with each version it's loosing its grip on reality more and more.

You are looking at the wrong folder. Type: %appdata% in the address bar of your windows explorer and start from there.
That should bring you to a folder in your own profile, completely read-write.

Geert

Thank you for your advice. Here's the error and I have no idea what to do with it.

Microsoft OLE DB Provider for ODBC Drivers [-2147217900]

[MySQL][ODBC 5.2(a) Driver][mysqld-5.6.11]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Partition as Signed)' at line 1

Context:
      Select * from t_xref where `Type`='swimlane' and Client='{66B250B8-A393-4cf8-BC7E-1E41DC89B26F}' order by Cast(Partition as Signed)

Running it in an SQL window (ea/find/sql) reproduced the error.
Changing the query to "... order by Cast(t_xref.Partition as Signed)" fixes the query but I am not sure how can I reconfigure EA or the database ...

please help
« Last Edit: August 23, 2013, 04:59:09 pm by atanasg »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #6 on: August 25, 2013, 02:09:01 am »
You need to report that as bug to Sparx (link bottom right of this page).

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #7 on: August 26, 2013, 08:39:59 am »
I notice the problem query includes the Partition column.

I believe the answer is that the current version doesn't support MySQL 5.6. (Support is planned and coming though)

fknEA

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #8 on: August 27, 2013, 01:57:33 am »
@Simon: Do you have some ETA for MySQL 5.16 support?
It appears that this is the only issue we have and it is easily fixable just using canonical/full naming in "order by" clauses, something which is best practice anyway...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: OLE DB Provider for ODBC err when open a diagr
« Reply #9 on: August 27, 2013, 09:02:27 am »
Sorry, I stopped giving any ETAs long ago.