久久久久久久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 的方法調用)
主站蜘蛛池模板: 天天操网| 欧美国产在线一区 | 日韩一级免费电影 | 9999国产精品欧美久久久久久 | 亚洲欧洲精品成人久久奇米网 | 91色综合 | 日韩精品在线网站 | 欧美一区二区在线播放 | 综合精品久久久 | 天天操天天插 | 中文字幕不卡在线观看 | 久久一区二区三区四区 | 久久久精品网 | 亚洲欧美日韩精品久久亚洲区 | 欧美男人天堂 | 国产精品1区 | 日韩电影在线一区 | 国产在线观看一区二区三区 | 国产黄色在线观看 | 日韩超碰 | 久草在线高清 | 欧美日韩在线免费 | 亚洲国产精品成人无久久精品 | 精品国产免费人成在线观看 | 午夜精品久久久久久久久久久久久 | 日韩精品专区在线影院重磅 | 四虎成人av | 国产偷自视频区视频 | 国产精品av久久久久久毛片 | 天天色影视综合 | 亚洲视频在线观看免费 | 国产电影一区二区三区爱妃记 | 午夜性视频| 操皮视频| 久久精品国产亚洲 | 超碰美女在线 | 久久精品久久久久久 | 亚洲精品日日夜夜 | 国产美女自拍视频 | 在线视频亚洲 | 欧美激情欧美激情在线五月 |