Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.

Triệu chứng

Xem xét tình huống sau:

  • Bạn có dịch vụ dữ liệu gốc (MDS) cho Microsoft SQL Server 2012 hoặc SQL Server 2014 cài đặt.

  • Bạn tạo một thực thể có 100 thành viên và đã chọn tuỳ chọn "Tạo mã giá trị tự động".

  • Trong MDS Explorer, các thực thể có hai trang thành viên với số lượng thành viên trên trang 2 bằng kích thước trang lưới (mặc định là 50).

Tình huống 1:
Bấm vào nút Thêm thành viên ở trang 1, nhập dữ liệu yêu cầu để thêm thành viên mới và sau đó bấm vào nút Trang tiếp theo . Trang 3 được tạo ra và bạn nhận được sau khi lỗi:

System.ArgumentOutOfRangeException: [ArgumentOutOfRange_Index]
Đối số:
Gỡ rối tài nguyên chuỗi có sẵn. Thường khóa và đối số cung cấp đủ thông tin chẩn đoán sự cố. Xem http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.00&File=mscorlib.dll&Key=ArgumentOutOfRange_Index
Tham số tên: chỉ mục
tại System.ThrowHelper.ThrowArgumentOutOfRangeException()
tại System.Collections.Generic.List'1.get_Item (chỉ Int32)
tại System.Collections.ObjectModel.Collection'1.get_Item (chỉ Int32)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.GetEnumerator()
tại System.Windows.Controls.DataForm.get_ItemsCount()
tại System.Windows.Controls.DataForm.SetCanMoveToLastItem()
tại System.Windows.Controls.DataForm.SetAllCanProperties()
tại System.Windows.Controls.DataForm.SetIsItemValid()
tại System.Windows.Controls.DataForm.GenerateUI (Boolean clearEntityErrors, Boolean swapOldAndNew)
tại System.Windows.Controls.DataForm.OnCurrentItemPropertyChanged (DependencyObject d, DependencyPropertyChangedEventArgs e)
tại System.Windows.DependencyObject.RaisePropertyChangeNotifications (DependencyProperty dp, đối tượng oldValue, đối tượng newValue)
tại System.Windows.DependencyObject.UpdateEffectiveValue (thuộc tính DependencyProperty, EffectiveValueEntry oldEntry, EffectiveValueEntry & newEntry, thao tác ValueOperation)
tại System.Windows.DependencyObject.SetValueInternal (DependencyProperty dp, đối tượng giá trị Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
tại System.Windows.Controls.DataForm.UpdateCurrentItem()
tại System.Windows.Controls.DataForm. < SetUpCollectionView > b__8 (DataForm ví dụ, đối tượng nguồn, EventArgs eventArgs)
tại System.Windows.Controls.WeakEventListener'3.OnEvent (TSource nguồn, TEventArgs eventArgs)
tại System.EventHandler.Invoke (Object sender, EventArgs e)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.OnCurrentChanged()
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveCurrentToPosition (Int32 vị trí)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveCurrentTo (đối tượng mục)
tại Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.set_SelectedItem (thành viên giá trị)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.ItemsBase'2.ReloadItems()
tại Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.EntityMembers_RefreshNeeded (Object sender, EventArgs e)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.Refresh()
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveToPage (Int32 pageIndex)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.MoveToNextPage()
tại System.Windows.Controls.DataPager.PageMoveHandler (Int32 oldPageIndex, Int32 newPageIndex PageMoveOperationDelegate pageMoveOperation)
tại System.Windows.Controls.DataPager.OnNextPageButtonBaseClick (Object sender, RoutedEventArgs e)
tại System.Windows.Controls.Primitives.ButtonBase.OnClick()
tại System.Windows.Controls.Button.OnClick()
tại System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp (MouseButtonEventArgs e)
tại System.Windows.Controls.Control.OnMouseLeftButtonUp (kiểm soát ctrl, EventArgs e)
tại MS. Internal.JoltHelper.FireEvent (IntPtr unmanagedObj IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, Chuỗi eventName, UInt32 cờ)

Tình huống 2:
Bấm vào nút Thêm thành viên trên trang 2 để áp dụng Explorer để thêm một trang mới. Sau đó trang 3 được tạo ra và bạn nhận được sau khi lỗi:

System.ArgumentOutOfRangeException: [ArgumentOutOfRange_Index]
Đối số:
Gỡ rối tài nguyên chuỗi có sẵn. Thường khóa và đối số cung cấp đủ thông tin chẩn đoán sự cố. Xem http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.00&File=mscorlib.dll&Key=ArgumentOutOfRange_Index
Tham số tên: chỉ mục
tại System.ThrowHelper.ThrowArgumentOutOfRangeException()
tại System.Collections.Generic.List'1.get_Item (chỉ Int32)
tại System.Collections.ObjectModel.Collection'1.get_Item (chỉ Int32)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.GetEnumerator()
tại System.Windows.Controls.DataForm.get_ItemsCount()
tại System.Windows.Controls.DataForm.SetCanMoveToLastItem()
tại System.Windows.Controls.DataForm.SetAllCanProperties()
tại System.Windows.Controls.DataForm. < SetUpCollectionView > b__a (ví dụ DataForm, đối tượng nguồn NotifyCollectionChangedEventArgs eventArgs)
tại System.Windows.Controls.WeakEventListener'3.OnEvent (TSource nguồn, TEventArgs eventArgs)
tại System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke (Object sender, NotifyCollectionChangedEventArgs e)
tại Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView'1.CollectionChangedHandler (Object sender, NotifyCollectionChangedEventArgs e)
tại System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke (Object sender, NotifyCollectionChangedEventArgs e)
tại System.Collections.ObjectModel.ObservableCollection'1.OnCollectionChanged (NotifyCollectionChangedEventArgs e)
tại System.Collections.ObjectModel.ObservableCollection'1.InsertItem (chỉ số Int32, T mục)
tại System.Collections.ObjectModel.Collection'1.Insert (chỉ số Int32, T mục)
tại Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.AddNewMemberToCollection (Guid requestId, trả lời EntityMembersGetResponse, ngoại lệ cũ)
tại Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient. <> c__DisplayClass16'2. < ExecuteRequest > b__15 (Object sender, RequestCompletedEventArgs'1 e)
tại Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient.OnEntityMembersGetCompleted (đối tượng trạng thái)

Mỗi bản cập nhật tích lũy mới cho SQL Server chứa tất cả các bản cập nhật nóng và tất cả các bản sửa lỗi bảo mật đi kèm với bản cập nhật tích lũy trước đó. Kiểm tra các bản cập nhật tích lũy mới nhất cho SQL Server:


Thông tin

Sau khi cài đặt xong, bạn phải mở Trình quản lý cấu hình dịch vụ quản lý dữ liệu để bạn có thể nâng cấp cơ sở dữ liệu MDS.

  1. Bấm vào cơ sở dữ liệu, và sau đó bấm Chọn cơ sở dữ liệu.

  2. Kết nối cơ sở dữ liệu mà bạn muốn nâng cấp. Khi cơ sở dữ liệu được chọn, bạn nhận được thông báo sau: cơ sở dữ liệu này cần nâng cấp. Bạn không thể thay đổi thiết đặt hệ thống cho đến khi cơ sở dữ liệu được nâng cấp.

  3. Bấm nâng cấp cơ sở dữ liệu. Nâng cấp cơ sở dữ liệu thuật sĩ sẽ mở ra. Làm theo các hướng dẫn trong hướng dẫn nâng cấp cơ sở dữ liệu và sau đó bấm kết thúc.

Trạng thái

Microsoft đã xác nhận rằng đây là sự cố trong sản phẩm của Microsoft được liệt kê trong phần "Áp dụng cho".

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Khám phá các lợi ích của gói đăng ký, xem qua các khóa đào tạo, tìm hiểu cách bảo mật thiết bị của bạn và hơn thế nữa.

Cộng đồng giúp bạn đặt và trả lời các câu hỏi, cung cấp phản hồi và lắng nghe ý kiến từ các chuyên gia có kiến thức phong phú.

Thông tin này có hữu ích không?

Bạn hài lòng đến đâu với chất lượng dịch thuật?
Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×