Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

S.DS.P PageResultRequestControl and SortRequestControl

$
0
0

Now I am not sure if this is a bug.

I am trying to use paging and sorting both together and I am getting an error, however using paging (haven't tested sorting on it's own) on it's own everything works fine.  So what I noticed was that when using paging only, the pagecookie is 500 bytes but when I use sorting with it its 4 bytes, it was significantly smaller, the first page would load fine with the data sorted but when you page through you get an error "The server does not support the control...".  

 I am using Win7 ent sp1 vs2012 and I used AD and ADAM/LDS to test, framework 4.5.

The app is simply retrieving users from a given CN and using searchrequest to page and sort, surely i should be able to use them both together right?

BTW - The first page displays correctly with the correct sort its only when i page forward i get  00000057: LdapErr: DSID-0C09068F, comment: Error processing control, data 0, vece

Has anyone experienced this or perhaps I am using this the wrong way, any help would be greatly appreciated


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>