久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何解決“服務(wù)器不支持控件.控制至關(guān)重要.&q

How to resolve quot;The server does not support the control. The control is critical.quot; Active Directory error(如何解決“服務(wù)器不支持控件.控制至關(guān)重要.活動(dòng)目錄錯(cuò)誤)
本文介紹了如何解決“服務(wù)器不支持控件.控制至關(guān)重要."活動(dòng)目錄錯(cuò)誤的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

當(dāng)我嘗試根據(jù)角色從 AD 獲取所有用戶時(shí)出現(xiàn)異常:

When trying to get all users from AD based on a role I was getting the exception:

System.DirectoryServices.Protocols.DirectoryOperationException:超出大小限制

System.DirectoryServices.Protocols.DirectoryOperationException: The size limit was exceeded

在此線程的幫助下:LdapConnection SearchRequest 拋出異常超出大小限制 我嘗試實(shí)現(xiàn)分頁(yè).

With help of this thread : LdapConnection SearchRequest throws exception for "The size limit was exceeded I tried implementing paging.

現(xiàn)在出現(xiàn)異常:

服務(wù)器不支持控件.控制至關(guān)重要.

The server does not support the control. The control is critical.

關(guān)于如何解決它的任何想法?我得到一個(gè)較小的基于角色的用戶列表,無(wú)需分頁(yè).謝謝.

Any ideas on how to go about resolving it? I get a smaller list of role based users fine without paging. Thanks.

更新:我在這里找到了檢查 AD 是否支持分頁(yè)的代碼 iPlanet LDAP 和 C# PageResultRequestControl 我得到了支持分頁(yè)的結(jié)果.

UPDATE: I found code to check if paging is supported by AD here iPlanet LDAP and C# PageResultRequestControl and I got the result that paging is supported.

推薦答案

針對(duì)帖子發(fā)布的解決方案 分頁(yè) LDap 搜索因請(qǐng)求的屬性不存在"而失敗 也幫助我解決了我的問(wèn)題.我正在使用 AuthType.Basic 并將其更改為 AuthType.Ntlm 使分頁(yè)代碼運(yùn)行良好.我懷疑它會(huì)影響我擁有的任何其他 AD 代碼,但如果我發(fā)現(xiàn)任何需要注意的地方,我會(huì)檢查并發(fā)布.

The solution posted in response to thread Paged LDap search fails with "The requested attribute does not exists" helped me with my issue too. I was using AuthType.Basic and changing it to AuthType.Ntlm had the paging code running fine. I doubt it will affect any other piece of AD code that I have but I'll check and post if I find anything to watch out for.

謝謝.

這篇關(guān)于如何解決“服務(wù)器不支持控件.控制至關(guān)重要."活動(dòng)目錄錯(cuò)誤的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Why shouldn#39;t I always use nullable types in C#(為什么我不應(yīng)該總是在 C# 中使用可空類型)
C# HasValue vs !=null(C# HasValue vs !=null)
C# ADO.NET: nulls and DbNull -- is there more efficient syntax?(C# ADO.NET:空值和 DbNull —— 有沒(méi)有更高效的語(yǔ)法?)
How to set null value to int in c#?(如何在c#中將空值設(shè)置為int?)
How to handle nulls in LINQ when using Min or Max?(使用 Min 或 Max 時(shí)如何處理 LINQ 中的空值?)
Method call if not null in C#(在 C# 中如果不為 null 的方法調(diào)用)
主站蜘蛛池模板: 色婷婷av一区二区三区软件 | aaa综合国产| 国产欧美精品一区二区色综合朱莉 | 亚洲高清久久 | 人操人人 | 免费在线色 | 久久久国产一区二区三区 | 中文字幕av网址 | 久久久久久久一区二区三区 | 国产成人99久久亚洲综合精品 | 成人免费网站www网站高清 | yiren22综合网成人 | 成人国产免费视频 | 日韩免费网站 | 国产精品久久久久久久久久久久 | 国产乱码精品一区二区三区五月婷 | 欧美人妖网站 | 成人黄色在线观看 | 日韩成人在线观看 | 国产福利在线视频 | 中文字幕爱爱视频 | 欧美黑人巨大videos精品 | 午夜天堂精品久久久久 | 国产欧美精品一区二区三区 | 精品不卡 | 伊人伊人 | 精品综合 | 免费av在线| 91资源在线 | 精品久久久久久久久久久久久久久久久 | 久久精品国产亚洲一区二区 | 亚洲免费精品一区 | 午夜免费在线 | 亚洲精品国产一区 | 精品欧美乱码久久久久久 | 午夜成人免费视频 | 天天久 | 欧美日韩在线一区二区 | 九九久久久 | 中文字幕第90页 | 欧美韩一区二区 |