fxsmkj 发表于 2020-10-22 10:42:08

提示错误,有大佬分析下是哪里出错了吗

\r\n2020-10-21 21:51:47,162 DEBUG IBatisNet.Common.Utilities.ConfigWatcherHandler [(null)] - Adding file to list of watched files.
2020-10-21 21:51:47,290 ERROR Common.Log [(null)] - error
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> IBatisNet.Common.Exceptions.ConfigurationException:
- The error occurred while loading Providers.
- initialize provider
- Check the MySql. ---> IBatisNet.Common.Exceptions.ConfigurationException: Could not configure providers. Unable to load provider named "MySql" not found, failed. Cause: Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. 系统找不到指定的文件。 ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. 系统找不到指定的文件。

fxsmkj 发表于 2020-10-29 11:14:35

原因找到了
未安装msyql对应的MySQL Connector/NET (Archived Versions)版本。
页: [1]
查看完整版本: 提示错误,有大佬分析下是哪里出错了吗