,Activation error occured while trying to get instance of type Database, key “core_erp”

落爺英雄遲暮 提交于 2019-12-12 04:43:05

问题


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" ..

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)

any help appreciated.

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


回答1:


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

hope this helps someone else :)



来源:https://stackoverflow.com/questions/22438041/activation-error-occured-while-trying-to-get-instance-of-type-database-key-co

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!