使用 Microsoft 登录
登录或创建帐户。
你好,
使用其他帐户。
你有多个帐户
选择要登录的帐户。

症状

请考虑以下情形:

  • 必须为 Microsoft SQL Server 2012年或安装 SQL Server 2014年主数据服务 (MDS)。

  • 创建包含 100 个成员的实体,并选中"自动创建代码值"中的选项。

  • 在 MDS 资源管理器中,实体所具有的相加的网格页大小的页面 2 上的两页的成员的成员数 (默认为 50)。

方案 1:
单击在第 1 页上的添加成员按钮,输入要添加的新成员,然后单击下一页按钮的所需的数据。创建第 3 页,您收到以下错误︰

System.ArgumentOutOfRangeException: [ArgumentOutOfRange_Index]
参数︰
调试资源字符串不可用。通常的参数和参数提供足够的信息来诊断问题。请参见http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.00&File=mscorlib.dll&Key=ArgumentOutOfRange_Index
参数名称︰ 索引
在 System.ThrowHelper.ThrowArgumentOutOfRangeException()
在 System.Collections.Generic.List'1.get_Item (Int32 索引)
在 System.Collections.ObjectModel.Collection'1.get_Item (Int32 索引)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.GetEnumerator()
在 System.Windows.Controls.DataForm.get_ItemsCount()
在 System.Windows.Controls.DataForm.SetCanMoveToLastItem()
在 System.Windows.Controls.DataForm.SetAllCanProperties()
在 System.Windows.Controls.DataForm.SetIsItemValid()
在 System.Windows.Controls.DataForm.GenerateUI (布尔型 clearEntityErrors、 布尔型 swapOldAndNew)
在 System.Windows.Controls.DataForm.OnCurrentItemPropertyChanged (DependencyObject d,DependencyPropertyChangedEventArgs e)
在 System.Windows.DependencyObject.RaisePropertyChangeNotifications (DependencyProperty dp,oldValue 对象、 对象其中)
在 System.Windows.DependencyObject.UpdateEffectiveValue (DependencyProperty 属性,EffectiveValueEntry oldEntry,EffectiveValueEntry 和 newEntry,ValueOperation 操作)
在 System.Windows.DependencyObject.SetValueInternal (DependencyProperty dp,对象值、 布尔型 allowReadOnlySet、 布尔型 isBindingInStyleSetter)
在 System.Windows.Controls.DataForm.UpdateCurrentItem()
在 System.Windows.Controls.DataForm。 < SetUpCollectionView > b__8 (数据窗体实例,对象源 EventArgs eventArgs)
在 System.Windows.Controls.WeakEventListener'3.OnEvent (TEventArgs eventArgs 返回源)
在 System.EventHandler.Invoke (EventArgs e 对象发件人)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.OnCurrentChanged()
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveCurrentToPosition (Int32 位置)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveCurrentTo (对象项)
在 Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.set_SelectedItem (成员值)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.ItemsBase'2.ReloadItems()
在 Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.EntityMembers_RefreshNeeded (EventArgs e 对象发件人)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.Refresh()
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveToPage (Int32 pageIndex)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveToNextPage()
在 System.Windows.Controls.DataPager.PageMoveHandler (Int32 oldPageIndex、 Int32 newPageIndex,PageMoveOperationDelegate pageMoveOperation)
在 System.Windows.Controls.DataPager.OnNextPageButtonBaseClick (RoutedEventArgs e 对象发件人)
在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
在 System.Windows.Controls.Button.OnClick()
在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp (MouseButtonEventArgs e)
在 System.Windows.Controls.Control.OnMouseLeftButtonUp (控制 ctrl,EventArgs e)
在 MS。Internal.JoltHelper.FireEvent (IntPtr unmanagedObj、 IntPtr unmanagedObjArgs、 Int32 argsTypeIndex、 Int32 actualArgsTypeIndex、 事件名称的字符串、 UInt32 标志)

方案 2:
单击强制浏览器来添加一个新页第 2 页上的添加成员按钮。然后创建第 3 页,您收到以下错误︰

System.ArgumentOutOfRangeException: [ArgumentOutOfRange_Index]
参数︰
调试资源字符串不可用。通常的参数和参数提供足够的信息来诊断问题。请参见http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.00&File=mscorlib.dll&Key=ArgumentOutOfRange_Index
参数名称︰ 索引
在 System.ThrowHelper.ThrowArgumentOutOfRangeException()
在 System.Collections.Generic.List'1.get_Item (Int32 索引)
在 System.Collections.ObjectModel.Collection'1.get_Item (Int32 索引)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.GetEnumerator()
在 System.Windows.Controls.DataForm.get_ItemsCount()
在 System.Windows.Controls.DataForm.SetCanMoveToLastItem()
在 System.Windows.Controls.DataForm.SetAllCanProperties()
在 System.Windows.Controls.DataForm。 < SetUpCollectionView > b__a 数据窗体实例,对象源 (NotifyCollectionChangedEventArgs eventArgs)
在 System.Windows.Controls.WeakEventListener'3.OnEvent (TEventArgs eventArgs 返回源)
在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke (NotifyCollectionChangedEventArgs e 对象发件人)
在 Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.CollectionChangedHandler (NotifyCollectionChangedEventArgs e 对象发件人)
在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke (NotifyCollectionChangedEventArgs e 对象发件人)
在 System.Collections.ObjectModel.ObservableCollection'1.OnCollectionChanged (NotifyCollectionChangedEventArgs e)
在 System.Collections.ObjectModel.ObservableCollection'1.InsertItem (Int32 索引、 T 项目)
在 System.Collections.ObjectModel.Collection'1.Insert (Int32 索引、 T 项目)
在 Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.AddNewMemberToCollection (Guid 了申请 Id、 EntityMembersGetResponse 响应,异常 ex)
在 Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient。 <> c__DisplayClass16'2。 < ExecuteRequest > b__15 (RequestCompletedEventArgs"1 e 对象发件人)
在 Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient.OnEntityMembersGetCompleted (对象状态)

SQL Server 的每个新累积更新包含以前的累积更新所包含的所有修补程序和所有安全修补程序。查看 SQL Server 的最新累积更新:


详细信息

完成安装后,您必须打开主数据服务配置管理器,以便可以 MDS 数据库升级。

  1. 单击数据库,然后单击选择数据库

  2. 连接到要升级的数据库。选择数据库后,您将收到以下消息︰此数据库需要升级。在升级数据库之前,您不能更改系统设置

  3. 单击升级数据库升级数据库向导将打开。请按照向导升级数据库,然后单击完成中的说明进行操作。

状态

Microsoft 已经确认这是“适用于”一节中列出的 Microsoft 产品中的问题。

需要更多帮助?

需要更多选项?

了解订阅权益、浏览培训课程、了解如何保护设备等。

社区可帮助你提出和回答问题、提供反馈,并听取经验丰富专家的意见。

此信息是否有帮助?

你对语言质量的满意程度如何?
哪些因素影响了你的体验?
按“提交”即表示你的反馈将用于改进 Microsoft 产品和服务。 你的 IT 管理员将能够收集此数据。 隐私声明。

谢谢您的反馈!

×