尝试获取数据库类型为键"core_erp"的实例时发生激活错误 [英] ,Activation error occured while trying to get instance of type Database, key "core_erp"

查看:120
本文介绍了尝试获取数据库类型为键"core_erp"的实例时发生激活错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在尝试连接到db(实际上是放在已经构建的项目中:)).代码可以正常连接,但是在Windows发出问题并重新启动后,每次尝试进行数据库连接时都会显示以下错误.

Am trying to connect to a db (actually am put on an already built project :) ) . The code was connecting ok but after a windows issue and restroring, the following error shows up each time a DB connection is attempted.

Activation error occured while trying to get instance of type Database, key "core_erp" ..

已经安装了mysql .net连接器,但错误仍然出现.

have installed mysql .net connector but the error still shows up.

如前所述,该项目已经构建,但是当代码被移植到这台计算机上时,问题就开始显现出来(原因是问题不在代码中,而可能不在配置中)

As said that the project is already built but when the code was ported to this computer, the issue started to show up (reason to tell this is that the issue is not in the code rather possibly on the configurations)

任何帮助表示赞赏.

使用MYSQL,ENT.LIBRARY,WCF,ASP.Net MVC-3

USING MYSQL, ENT.LIBRARY , WCF, ASP.Net MVC-3

推荐答案

问题通过安装较新的MYSQL .net连接器(6.8.3)解决.

issue solved by installing the newer MYSQL .net connector (6.8.3).

希望这对其他人有帮助:)

hope this helps someone else :)

这篇关于尝试获取数据库类型为键"core_erp"的实例时发生激活错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆