高阳酒徒 发表于 2023-1-10 17:40:12

活字格8.0.104 突然无法绑定外联数据库了

之前是好的今天突然绑定外联数据库了

测试能通过数据库通过数据库管理工具也能正常连接

产品卸载重装问题依然存在



这一步是好的



## Overview
- Version: 8.0.104.0
- Exception: `System.ArgumentNullException`
- DateTime: 2023-01-10 17:27:28
- Email: 2211960282@qq.com
- Tags: #CN

## Exception
```json
{
"ClassName": "System.ArgumentNullException",
"Message": "值不能为 null。",
"Data": {
    "$type": "System.Collections.ListDictionaryInternal, mscorlib",
    "System.Object": null
},
"InnerException": null,
"HelpURL": null,
"StackTraceString": "   在 System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   在 System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   在 System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   在 Forguncy.Model.ProcessConnectionInfo.ChangeConnection(Dictionary`2 oldToNewConnections)
   在 Forguncy.Common.Utilities.a(ManageDBConnectionsEditor A_0)
   在 Forguncy.Common.Utilities.ShowManageDBConnectionDialog()
   在 Forguncy.Views.RibbonView.ManageDBConnectionButton_Click(Object sender, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8
ThrowArgumentNullException
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.ThrowHelper
Void ThrowArgumentNullException(System.ExceptionArgument)",
"HResult": -2147467261,
"Source": "mscorlib",
"WatsonBuckets": null,
"ParamName": "key"
}
```

## EventLog
- 17:27:28 `MouseL`:Window:管理数据库连接->Button:确定->确定
- 17:27:07 `MouseL`:Window:管理数据库连接->新建
- 17:27:06 `MouseL`:Window:零售3.fgcc - 活字格->RibbonView->RibbonGroupBox:外部数据源->Inline:管理数据库连接
- 17:27:05 `MouseL`:Window:零售3.fgcc - 活字格->RibbonView->RibbonTabItem

## ActionList



Simon.Sun 发表于 2023-1-11 09:16:57

您好,这个现象是个 bug(9 版本已修复)。
这个问题和工程文件有关。您那边看能不能新建一个空的工程文件,然后将有问题的文件里面的模块导入,再新的工程文件上去配置外联库链接。

如果上面操作不能解决问题,还烦请以上传下工程文件(您可以将工程文件设置为超级版主可见),这边反馈看能不能处理一下。

高阳酒徒 发表于 2023-1-11 14:11:32

好的   我试一下

高阳酒徒 发表于 2023-1-11 16:37:44

Simon.Sun 发表于 2023-1-11 09:16
您好,这个现象是个 bug(9 版本已修复)。
这个问题和工程文件有关。您那边看能不能新建一个空的工程文件 ...

感谢已解决!

Erik.Xue 发表于 2023-1-11 16:50:14

{:5_110:}

sz_xd 发表于 2023-1-17 00:18:18

Simon.Sun 发表于 2023-1-11 09:16
您好,这个现象是个 bug(9 版本已修复)。
这个问题和工程文件有关。您那边看能不能新建一个空的工程文件 ...
最好能将这个问题 Bug,放在新版的活字格 8.0.105 中一起处理好,不要等 活字格9.0,谢谢!

:mj72:

Simon.Sun 发表于 2023-1-17 08:57:57

您好,因为这个问题涉及到相对底层的功能,所以放到了 9 版本哈。感谢您的反馈。
页: [1]
查看完整版本: 活字格8.0.104 突然无法绑定外联数据库了