-
Notifications
You must be signed in to change notification settings - Fork 321
Labels
Regression 💥Issues that are regressions introduced from earlier PRs.Issues that are regressions introduced from earlier PRs.
Milestone
Description
Describe the bug
After upgrading the library from version 6.0.2 to version 6.1.1, creating a connection to SQL Server
string connectionString = @"Data Source=SERVER\SQL2016;Initial Catalog=GeOM;Integrated Security=True;User ID=;Password=;MultipleActiveResultSets=True;Application Name=EntityFramework;Encrypt=False";
SqlConnection _connection = new SqlConnection(connectionString);
generates the following error:
Exception message:
System.InvalidOperationException
Applicazione: GeOM.exe
Versione framework: v4.0.30319
Descrizione: il processo è stato terminato a causa di un'eccezione non gestita.
Stack trace:
Informazioni sull'eccezione: System.InvalidOperationException
in System.Diagnostics.PerformanceCounter.InitializeImpl()
in System.Diagnostics.PerformanceCounter.Increment()
in Microsoft.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(Microsoft.Data.SqlClient.ConnectionPool.DbConnectionPoolKey, Microsoft.Data.SqlClient.ConnectionPool.DbConnectionPoolGroupOptions, Microsoft.Data.Common.ConnectionString.DbConnectionOptions ByRef)
in Microsoft.Data.SqlClient.SqlConnection.ConnectionString_Set(Microsoft.Data.SqlClient.ConnectionPool.DbConnectionPoolKey)
in Microsoft.Data.SqlClient.SqlConnection.set_ConnectionString(System.String)
in Microsoft.Data.SqlClient.SqlConnection..ctor(System.String, Microsoft.Data.SqlClient.SqlCredential)
in Microsoft.Data.SqlClient.SqlConnection..ctor(System.String)
in AgileCom.Entities.Infrastructure.Avvisi.Repository.AvvisiRepositoryDapper..ctor(System.String)
in OM.Anagrafiche.MessaggioAvvisiVM..ctor()
in OM.Anagrafiche.ucEtichettaConAvvisi..ctor()
Informazioni sull'eccezione: System.Windows.Markup.XamlParseException
in System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
in System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
in System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
in System.Windows.Application.LoadComponent(System.Object, System.Uri)
in OM.Commesse.frmPosizione.InitializeComponent()
in OM.Commesse.frmPosizione..ctor(Boolean)
in OM.Commesse.frmCommesse+<>c__DisplayClass170_0.<ApriPosizione>b__0()
in OM.MainWindow.OpenTab(System.Func`1<System.Windows.Controls.UserControl>, System.String, OM.UIOpenModality, Boolean, System.String)
in OM.Commesse.frmCommesse.ApriPosizione(OM.Entities.Com_Posizione)
in OM.Commesse.frmCommesse.tvPosizioni_RowDoubleClick(System.Object, DevExpress.Xpf.Grid.RowDoubleClickEventArgs)
in DevExpress.Xpf.Grid.RowDoubleClickEventArgs.InvokeEventHandler(System.Delegate, System.Object)
in System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
in System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
in System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
in DevExpress.Xpf.Grid.TableView.DevExpress.Xpf.Grid.ITableView.RaiseRowDoubleClickEvent(DevExpress.Xpf.Grid.Native.ITableViewHitInfo, System.Windows.Input.MouseButton)
in DevExpress.Xpf.Grid.Native.TableViewBehavior.OnDoubleClick(System.Windows.Input.MouseButtonEventArgs)
in DevExpress.Xpf.Grid.DataViewBase.OnPreviewMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
in System.Windows.Controls.Control.HandleDoubleClick(System.Object, System.Windows.Input.MouseButtonEventArgs)
in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
in System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
in System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
in System.Windows.UIElement.OnPreviewMouseDownThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
in System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
in System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
in System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
in System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
in System.Windows.Input.InputManager.ProcessStagingArea()
in System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
in System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
in System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
in System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
in System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
in MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
in MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
in System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
in System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
in System.Windows.Application.RunDispatcher(System.Object)
in System.Windows.Application.RunInternal(System.Windows.Window)
in System.Windows.Application.Run(System.Windows.Window)
in OM.App.Main()
To reproduce
Upgrade version from 6.0.2 to 6.1.1
WPF Application Framework 4.8 + Entity Framework 6.5.1
Microsoft Windows 10 22H2 (build SO 19045.6216)
MSSQL (13.00.4259)
Metadata
Metadata
Assignees
Labels
Regression 💥Issues that are regressions introduced from earlier PRs.Issues that are regressions introduced from earlier PRs.