I have .net core 3.1 application
I am getting following error on mysql 8 enterprise edition when connecting from a linux
rogram Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
at MySql.Data.MySqlClient.MySqlDataReader.GetFieldValue(Int32 index, Boolean checkNull)
Strange thing is when trying to same db from windows i am not getting this error.
Stored procedure i am accessing having just one parameter.
Error from linux system removed when i added CheckParameters=false in the connection string.
But i am confused why it is happening as my stored procedure have no more then single parameter.
I am getting following error on mysql 8 enterprise edition when connecting from a linux
rogram Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
at MySql.Data.MySqlClient.MySqlDataReader.GetFieldValue(Int32 index, Boolean checkNull)
Strange thing is when trying to same db from windows i am not getting this error.
Stored procedure i am accessing having just one parameter.
Error from linux system removed when i added CheckParameters=false in the connection string.
But i am confused why it is happening as my stored procedure have no more then single parameter.