VB.NET: The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception

前端 未结 5 1958
逝去的感伤
逝去的感伤 2021-01-28 07:39

I don\'t know what may be wrong but that\'s what I get when I try to start the program:

The type initializer for MySql.Data.MySqlClient.Replication.ReplicationMana

5条回答
  •  再見小時候
    2021-01-28 08:22

    I had the same error, but a different solution. First I tried the enable "SQL Server Debugging", but that didn't change anything (I still don't know why this setting would make a difference).

    The solution for me was the user rights on the server. The application runs with the Task Scheduler under a user account. Only the domain of this user account was changed. So the MySQL Connection didn't have enough rights.

提交回复
热议问题