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

如何解決“服務器不支持控件.控制至關重要.&q

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

問題描述

當我嘗試根據角色從 AD 獲取所有用戶時出現異常:

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 拋出異常超出大小限制 我嘗試實現分頁.

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

現在出現異常:

服務器不支持控件.控制至關重要.

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

關于如何解決它的任何想法?我得到一個較小的基于角色的用戶列表,無需分頁.謝謝.

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

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

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.

推薦答案

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

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.

謝謝.

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

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

相關文檔推薦

Why shouldn#39;t I always use nullable types in C#(為什么我不應該總是在 C# 中使用可空類型)
C# HasValue vs !=null(C# HasValue vs !=null)
C# ADO.NET: nulls and DbNull -- is there more efficient syntax?(C# ADO.NET:空值和 DbNull —— 有沒有更高效的語法?)
How to set null value to int in c#?(如何在c#中將空值設置為int?)
How to handle nulls in LINQ when using Min or Max?(使用 Min 或 Max 時如何處理 LINQ 中的空值?)
Method call if not null in C#(在 C# 中如果不為 null 的方法調用)
主站蜘蛛池模板: 国产精品成人一区二区三区夜夜夜 | 久久久国产精品一区 | 围产精品久久久久久久 | av男人天堂影院 | 99精品国产一区二区三区 | 亚洲精品一 | 国产精品无 | 久草免费在线 | 欧美一区二区三区在线观看视频 | 欧美日本亚洲 | 在线欧美小视频 | 黄色日本片| 免费毛片网站在线观看 | 一区中文字幕 | 天堂一区二区三区 | 久久亚洲国产精品日日av夜夜 | 中文字幕精品一区二区三区精品 | 国产精品国产成人国产三级 | 精品国产一区二区三区观看不卡 | 天天操网 | 国产高清免费 | 日韩欧美一级片 | 欧洲性生活视频 | 视频在线一区 | 在线精品观看 | 国产精品无码专区在线观看 | 天天躁日日躁狠狠躁白人 | 九九热在线观看 | 超碰在线97国产 | 国产成人黄色 | 91av在线影院 | 欧美视频二区 | 一区二区三区网站 | 亚洲激情在线视频 | 亚洲精品一区二区 | 亚洲国产二区 | 亚洲综合无码一区二区 | 亚洲一区二区三区高清 | 国产高清在线精品一区二区三区 | 国产高清精品一区二区三区 | 国产欧美精品一区二区三区 |