Re: NET6 on VS2022 NuGet package
I hope thi is what you mean:
Win10 intel i9
VS2022
ConnectionString =
(runningLocal ? @"server=localhost;" : @"server=" + server + ";") +
@"database=" + dataBase + "; " +
@"user=" + user + ";" +
@"uid=" + user + ";" +
@"SslMode=REQUIRED;" +
@"password=" + pwd + ";" +
@"pwd=" + pwd + ";" +
@"ConvertZeroDateTime=True;" +
@"UseCompression=True;";
ProviderName = "System.Data.SqlClient";
MySqlConnect = new MySqlConnection(ConnectionString);
if (MySqlConnect.State != ConnectionState.Open) MySqlConnect.Open();
EXCEPTION:
System.TypeInitializationException: 'The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception.'
ConfigurationErrorsException: Configuration system failed to initialize
PlatformNotSupportedException: Operation is not supported on this platform.
Source: "MySql.Data"
StackTrace = " at MySql.Data.MySqlClient.Replication.ReplicationManager.IsReplicationGroup(String groupName)\r\n at MySql.Data.MySqlClient.MySqlConnection.Open()\r\n at Genapps6.GenappsMySqlServer.OpenConnection(String connectionstring) in C:\\Users\\xxx\\source\\...
TypeName = "MySql.Data.MySqlClient.MySqlConfiguration"
Subject
Written By
Posted
Re: NET6 on VS2022 NuGet package
April 19, 2022 12:36AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.