代码改变世界

Specified provider type 'ALinq.Oracle.OracleProvider' does not implement 'ALinq.IProvider'

2010-10-05 10:55  麦舒  阅读(382)  评论(0编辑  收藏  举报

Question:

I just upgraded to 2.4.4 and am now getting:

 

 

Anwser:

This problem is cause by the assemblies version is not match.
for example:
Version 1 : ALinq.dll  2.1  ALinq.Oracle.dll 1.5
Version 2 : ALinq.dll  2.2  ALinq.Oracle.dll 1.6
 
If you are reference ALinq.dll 2.1 (Version 1) and ALinq.Oracle.dll 1.6 (Version 2)  in your project, the problem will be caused.
you should reference ALinq.dll 2.1 and ALinq.Oracle.dll 1.5 (Version 1) , or ALinq.dll  2.2 and  ALinq.Oracle.dll 1.6 (Version 2) .