Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of running errors in .net programs after mysql installation

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to solve the problem of errors in the operation of. Net programs after mysql installation. I hope you will gain a lot after reading this article. Let's discuss it together.

Find a problem

Recently there was an error running the .net program after installing mysql:

Error location: C:\ Windows\ Microsoft.NET\ Framework\ v4.0.30319\ Config\ machine.config

Error message: failed to load file or assembly "MySql.ConnectorInstaller, Version=6.10.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" or one of its dependencies. The system cannot find the specified file.

The figure shows:

Reason:

This disgusting error occurs when you install MySQL .NET Connector 6.9.4 (and possibly other versions), because if you do not uncheck "Web Providers" during installation, it will be written to your machine.config file, which will cause you to encounter this error.

Solve the problem correctly:

Cancel the Wen Providers option to execute to finish after downloading Connector/Net 6.10.6

You will find that the MySQLMembershipProvider node in the previous machine.config file has disappeared

The program is running normally.

After reading this article, I believe you have a certain understanding of how to solve the problem of running errors in .net programs after mysql installation. If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report