Hi All,
We are getting the following error when we click on Explore and click on a specific Entity to retrieve the data.
This was working correctly before.
At this time, only 1 entity is having the issue, all of the other entities are working as expected and we can make updates as necessary.
"Failed to ExecuteNonQuery on query mdm.udpEntityMembersGet, server SERVERNAME, database MDSDBNAME. Error: System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.at System.Data.SqlClient.SqlBuffer.get_String()
at Microsoft.MasterDataServices.Core.BusinessLogic.Member.CreateAttributesFromCollectionForMemberData(Member member, IEnumerable`1 attributesAndColumns, SqlDataReader reader, Boolean changedAttributeOnly)
at Microsoft.MasterDataServices.Core.BusinessLogic.Member.CreateEntityMembersFromDataReader(SqlDataReader reader, MemberReturnOption memberReturnOption, Nullable`1 memberType, Boolean excludeAduditInfo, IEnumerable`1 attributes, Boolean changedAttributeOnly)
at Microsoft.MasterDataServices.Core.BusinessLogic.Member.<>c__DisplayClass16.<ReadMembers>b__15(SqlDataReader dataReader, IEnumerable`1 attributes)
at Microsoft.MasterDataServices.Core.BusinessLogic.Member.ReadDataReader[T](SqlDataReader reader, OperationResult results, Func`3 read)
at Microsoft.MasterDataServices.Core.BusinessLogic.Member.ReadMembers(SqlDataReader reader, OperationResult results, MemberReturnOption memberReturnOption, Nullable`1 memberType, Boolean excludeAduditInfo, Boolean changedAttributeOnly)
at Microsoft.MasterDataServices.Core.BusinessLogic.Member.<>c__DisplayClass13.<GetMembers>b__12(SqlDataReader reader)
at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.<>c__DisplayClass23`1.<>c__DisplayClass26.<ExecuteDataReader>b__22()
at Microsoft.MasterDataServices.Core.DataAccess.MdsDbUtilities.ExecuteMethodWithRecoverableErrorRetry(MethodDelegate method)
at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.<>c__DisplayClass23`1.<ExecuteDataReader>b__21(SqlConnection connection), Command:
DECLARE @SearchTable mdm.MemberGetCriteria;
DECLARE @AttributeTable mdm.Identifier;
EXEC mdm.udpEntityMembersGet (following the attributes of the entity here)
Any guidance very much appreciated!
Thank you so much!