元数据文档的根元素必须是EntityDescriptor或EntitiesDescriptor

时间:2018-10-04 06:53:10

标签: c# .net single-sign-on

使用On-场所身份验证, 我遇到以下错误:

[MetadataSerializationException:ID3260:元数据文档的根元素必须是EntityDescriptor或EntitiesDescriptor。]    System.IdentityModel.Metadata.MetadataSerializer.ReadMetadataCore(XmlReader阅读器,SecurityTokenResolver tokenResolver)+612875    System.IdentityModel.Metadata.MetadataSerializer.ReadMetadata(XmlReader阅读器,SecurityTokenResolver tokenResolver)+67    Microsoft.IdentityModel.Protocols.d__1.MoveNext()+488    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)+92    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)+58    System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(任务任务)+11532712    Microsoft.IdentityModel.Protocols.d__3.MoveNext()+1236

0 个答案:

没有答案