使用委托令牌时超出最大数组长度配额 [英] maximum array length quota exceeded when using delegated tokens

查看:98
本文介绍了使用委托令牌时超出最大数组长度配额的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何调整与WIF相关的通信的阵列长度配额? 当我尝试使用委托访问服务时,我在svclog中收到以下异常:

读取XML数据时已超出最大数组长度配额(16384)。通过更改创建XML阅读器时使用的XmlDictionaryReaderQuotas对象上的MaxArrayLength属性,可以增加此配额。第1行,第26210位。

解决方案

与其他WCF相关的组件相同: http://msdn.microsoft.com/en-us/library/ms731325.aspx

HTH!


How can I adjust the array length quota for my WIF related communications?  When I attempt to access a service using delegation I receive the following exception in the svclog:



The maximum array length quota (16384) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 26210.

解决方案

Same as with other WCF related component: http://msdn.microsoft.com/en-us/library/ms731325.aspx

HTH!


这篇关于使用委托令牌时超出最大数组长度配额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆