简体   繁体   English

Enterprise Architect-用于ODBC驱动程序的Microsoft OLE DB提供程序-2147217900 /'80040E14'

[英]Enterprise Architect - Microsoft OLE DB Provider for ODBC Drivers -2147217900 / '80040E14'

I am setting up Sparx's Enterprise Architect to work in centralized mode using: 我正在设置Sparx的Enterprise Architect以使用以下方式在集中模式下工作:

  • EA version 10.0.1007 EA版本10.0.1007
  • Database: MySQL CE version 5.6.13.1 数据库:MySQL CE版本5.6.13.1
  • Connector: mysql-connector-odbc-5.3.2-win32.msi 连接器:mysql-connector-odbc-5.3.2-win32.msi

I've successfully setup the database and connector in Data Sources. 我已经在“数据源”中成功设置了数据库和连接器。 Test connection is working. 测试连接正常。

On the first project, EA requesting to import project, in which I imported EABase.eap from C:\\Program Files (x86)\\Sparx Systems\\EA. 在第一个项目中,EA请求导入项目,在该项目中,我从C:\\ Program Files(x86)\\ Sparx Systems \\ EA导入了EABase.eap。 This is success also. 这也是成功的。

I click the Add New Model from Pattern, choose the Name, and click OK, then I got the following error (shown three times): 我单击从模式添加新模型,选择名称,然后单击确定,然后出现以下错误(显示三次):

EA错误ODBC

If I close the EA and then reopen, the packages and diagrams are still there, meaning they are saved to MySQL database. 如果我关闭EA然后重新打开,则程序包和图表仍然存在,这意味着它们已保存到MySQL数据库中。

The error is also shown whenever I first clicked on the diagram. 每当我第一次单击该图时,也会显示该错误。

How to solve this problem? 如何解决这个问题呢?

Did you use the correct ODBC driver? 您是否使用了正确的ODBC驱动程序?

32 vs 64 bit is relevant here. 32位与64位在此处相关。 You should use the 32bit driver even if you are on 64bit Windows. 即使在64位Windows上,也应使用32位驱动程序。

If you are using a 64-bit operating system (see here ): 如果您使用的是64位操作系统(请参见此处 ):

• Enterprise Architect requires 32-bit ODBC drivers to connect to a repository through ODBC; •Enterprise Architect需要32位ODBC驱动程序才能通过ODBC连接到存储库; to set up the ODBC configuration on 64-bit clients, run the 32-bit ODBC Data Source Administrator from C:\\Windows\\SysWOW64\\odbcad32.exe 要在64位客户端上设置ODBC配置,请从C:\\ Windows \\ SysWOW64 \\ odbcad32.exe运行32位ODBC数据源管理器

• You can quickly load the correct 32-bit ODBC Data Source Administrator by selecting Tools | •您可以通过选择工具|快速加载正确的32位ODBC数据源管理器。 ODBC Data Sources in the Enterprise Architect menu bar Enterprise Architect菜单栏中的ODBC数据源

Also: Did you check the two checkboxes as described in the installation of the driver? 另外:您是否按照驱动程序安装中的说明选中了两个复选框? (Select the Return matched rows instead of affected rows and Allow big result sets checkboxes.) See here for a detailed description (选择返回匹配的行而不是受影响的行,并选中允许大结果集复选框。)有关详细说明,请参见此处

I had the same error while I migrated some projects from eap files to a MySQL database. 我将某些项目从eap文件迁移到MySQL数据库时遇到了相同的错误。

The problem is caused by Cast(Partition as Signed); 该问题是由Cast(Partition as Signed);引起的Cast(Partition as Signed);

The Enterprise Architect uses a column name " Partition " but it is a reserved key word since version 5.6.2 (see the manual ) of the MySQL dbms. Enterprise Architect使用列名“ Partition ”,但这是自MySQL dbms的5.6.2版本以来的保留关键字(请参阅手册 )。

Switch to the MySQL version 5.5.46 (x64) and the error will disappear. 切换到MySQL版本5.5.46(x64),错误将消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 运行时错误'-2147217900(80040e14)' - Run-time error '-2147217900 (80040e14)' Microsoft OLE DB提供程序的ODBC驱动程序错误 - Microsoft OLE DB Provider for ODBC Drivers error Azure网站-ODBC驱动程序的Microsoft OLE DB提供程序错误'80004005' - Azure Website - Microsoft OLE DB Provider for ODBC Drivers error '80004005' ADO 错误:odbc 驱动程序的 Microsoft oledb 提供程序中发生 0x80040e14 异常[ODBC 8.0(a)][mysqld-8.0.20] 您的 SQL 语法有错误 - ADO Error: 0x80040e14 exception occurred in microsoft oledb provider for odbc drivers[ODBC 8.0(a)][mysqld-8.0.20] You have an error in your SQL syntax ODB错误80040e14 ASP CLASSIC - ODB ERROR 80040e14 ASP CLASSIC 在SSIS中看不到“用于ODBC的Microsoft OLE DB提供程序”驱动程序 - Unable to see “Microsoft OLE DB Provider for ODBC” driver in SSIS 企业架构师的 MySQL 存储库? - MySQL Repository for Enterprise Architect? 错误:链接服务器“bquick”的 OLE DB 提供程序“MSDASQL”无法开始分布式事务 - Error: OLE DB provider "MSDASQL'' for Linked Server ''bequick'' was unable to begin a Distributed transaction MySQL的Ole db连接器 - Ole db connector for Mysql 无法在Enterprise Architect中获取表信息-MySQL - Unable to Obtain Table Information in Enterprise Architect - MySQL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM