Click here to Skip to main content
15,887,214 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: VB.NET Framework 7, how to multithread on existing user control? Pin
Dave Kreskowiak10-Sep-23 11:43
mveDave Kreskowiak10-Sep-23 11:43 
AnswerRe: VB.NET Framework 7, how to multithread on existing user control? Pin
Gerry Schmitz10-Sep-23 16:05
mveGerry Schmitz10-Sep-23 16:05 
Questionvb.net 2022 webview2 getting current url. Pin
steve20152-Sep-23 10:16
steve20152-Sep-23 10:16 
AnswerRe: vb.net 2022 webview2 getting current url. Pin
Dave Kreskowiak2-Sep-23 10:50
mveDave Kreskowiak2-Sep-23 10:50 
GeneralRe: vb.net 2022 webview2 getting current url. Pin
steve20153-Sep-23 4:08
steve20153-Sep-23 4:08 
QuestionHelp! My .NET to MySQL application suddenly stopped working... Pin
erikbrannlund25-Aug-23 0:07
professionalerikbrannlund25-Aug-23 0:07 
AnswerRe: Help! My .NET to MySQL application suddenly stopped working... Pin
Dave Kreskowiak25-Aug-23 3:39
mveDave Kreskowiak25-Aug-23 3:39 
GeneralRe: Help! My .NET to MySQL application suddenly stopped working... Pin
erikbrannlund25-Aug-23 4:24
professionalerikbrannlund25-Aug-23 4:24 
I don't use C# on a daily basis and I haven't touched the code for a long time. There could be that this debug session broke when imported in 2022 instead of 2017 where the original development was done.
I hoped that someone would say something along the lines of (Microsoft disabled Tech Z version X, try installing Y). But anyway Entity framework and under references MySql.Data and MySql.Data.Entity.EF6.
NuGet packages MySql.Data 6.9.9 and MySql.Data.Entity 6.9.9 (This one is marked as depreceted).

This is the exception I received:

System.Data.Entity.Core.EntityException
HResult=0x80131501
Message=The underlying provider failed on Open.
Source=EntityFramework
StackTrace:
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<getresults>b__5()
at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<system.collections.generic.ienumerable<t>.GetEnumerator>b__0()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at BusinessLayer.Supplier.GetAll() in C:\mitt\marieshopnet\BusinessLayer\Supplier.cs:line 33
at PendingLedgerEvidence.Form1..ctor() in C:\mitt\marieshopnet\PendingLedgerEvidence\Form1.cs:line 60
at PendingLedgerEvidence.Program.Main() in C:\mitt\marieshopnet\PendingLedgerEvidence\Program.cs:line 19

This exception was originally thrown at this call stack:
[External Code]

Inner Exception 1:
MySqlException: Unable to connect to any of the specified MySQL hosts.
GeneralRe: Help! My .NET to MySQL application suddenly stopped working... Pin
Gerry Schmitz25-Aug-23 4:30
mveGerry Schmitz25-Aug-23 4:30 
GeneralRe: Help! My .NET to MySQL application suddenly stopped working... Pin
jkirkerx24-Oct-23 11:47
professionaljkirkerx24-Oct-23 11:47 
QuestionMessage Closed Pin
17-Aug-23 0:11
YASH PATEL 202317-Aug-23 0:11 
QuestionRe: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Pin
Richard MacCutchan17-Aug-23 0:17
mveRichard MacCutchan17-Aug-23 0:17 
AnswerRe: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Pin
Richard Deeming17-Aug-23 1:25
mveRichard Deeming17-Aug-23 1:25 
GeneralRe: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Pin
Richard MacCutchan17-Aug-23 1:35
mveRichard MacCutchan17-Aug-23 1:35 
AnswerRe: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Pin
Dave Kreskowiak17-Aug-23 3:13
mveDave Kreskowiak17-Aug-23 3:13 
GeneralRe: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Pin
Richard MacCutchan17-Aug-23 3:23
mveRichard MacCutchan17-Aug-23 3:23 
AnswerRe: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Pin
jschell17-Aug-23 5:37
jschell17-Aug-23 5:37 
QuestionHow would you test a minimal api that uses a dictionary for saving entities? Pin
Nikol Dimitrova 202314-Aug-23 13:13
Nikol Dimitrova 202314-Aug-23 13:13 
AnswerRe: How would you test a minimal api that uses a dictionary for saving entities? Pin
jschell15-Aug-23 4:36
jschell15-Aug-23 4:36 
GeneralRe: How would you test a minimal api that uses a dictionary for saving entities? Pin
Nikol Dimitrova 202315-Aug-23 7:46
Nikol Dimitrova 202315-Aug-23 7:46 
AnswerRe: How would you test a minimal api that uses a dictionary for saving entities? Pin
Gerry Schmitz15-Aug-23 4:37
mveGerry Schmitz15-Aug-23 4:37 
QuestionCreating a print event handler in a class, and calling it from my print dialog, I need human help on this Pin
jkirkerx27-Jul-23 9:08
professionaljkirkerx27-Jul-23 9:08 
AnswerRe: Creating a print event handler in a class, and calling it from my print dialog, I need human help on this Pin
Richard Andrew x6427-Jul-23 10:55
professionalRichard Andrew x6427-Jul-23 10:55 
GeneralRe: Creating a print event handler in a class, and calling it from my print dialog, I need human help on this Pin
jkirkerx27-Jul-23 11:14
professionaljkirkerx27-Jul-23 11:14 
GeneralRe: Creating a print event handler in a class, and calling it from my print dialog, I need human help on this Pin
Dave Kreskowiak27-Jul-23 18:02
mveDave Kreskowiak27-Jul-23 18:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.