Short description of the situation.A web application where the user can choose some search criteria, hit the search button, and see the results displayed in a grid. This application works as expected on our development servers. However, when deployed on the customer's server, the paging of the grid is broken: the first page is correct, but next pages don't return the correct rows. I can only explain what happens with an example:Suppose page 1 should show results 1-10, page 2 results 11-20, etc.What happens is something like this: page 1 shows 1-10, page 2 shows 1,2,3,4,6, 8,9,28,29,30 page 3 shows 1,2,3,28,29,36,37,.. So the rows are messed up, and a lot of results are never displayed (replaced by result from previous page). Also note that the rows are not just off by some number.After many hours of searching and debugging I can only conclude that the Fill() method of the SqlDataAdapter that's being used returns the wrong results! The adapter uses a SqlCommand, with an SQL query as plain text. I can run this query in SQL Server Management Studio, where it returns the correct results, so it really must go wrong inside the .NET framework itself.I've tried to enable .NET source debugging to step into the Fill method, but I can't get that to work, so basically I'm out of options now.. Any tips/suggestions are greatly appreciated!