0

How could i solve the problem of the title of the error is 'InvalidOperationException was unhandled'

I am working with one project using MySQL workbench with c#. I have already written the code for the log-in windows with the mvc method but when I build the eroor is 'an unhandled exception of type'system.invalidOperationException' occurred in MySQL.data.dll'. please I could I solved this problem. cordially

20th Jan 2018, 6:51 AM
Mimodje Noupeyou Modeste
Mimodje Noupeyou Modeste - avatar
2 odpowiedzi
+ 9
I don't know C# much, but did you manage to establish a connection?, is this error triggered by a query, or something else, an event probably? did the code survive the exception, or is there a line number pointed out? post the code block around that line if a line number is indicated, maybe someone here can help with more detailed information supplied.
20th Jan 2018, 7:09 AM
Ipang
+ 6
can you plz share the connection code.
20th Jan 2018, 7:10 AM
MR Programmer
MR Programmer - avatar