I have implemented the example API code to pull a list of our contacts into a C# .NET Gridview. It has worked 1 time but now everytime I click the button on my page "Show Constant Contact Users", the page authenticates and then shows the Internet Exploere page loading status bar and it just loads forever. Anyone know what the problem may be. We have 200,000 plus users in the database. howveer, I am using the exmaple C# code from the contstant contacts exmaple code. So I know the code is correct.
This appears to be where the code never returns a result:
void GetContactCollection()try string nextChunk;string.IsNullOrEmpty(CurrentChunk)Utility.GetContactCollection(AuthenticationData, out nextChunk)Utility.GetContactCollection(AuthenticationData, CurrentChunk, out nextChunk);// update chunk links
GridView1.DataSource = List;
NextChunk = nextChunk;
Are you currently attempting to retrieve all contacts in one session? Or are you simply trying to retrieve a chunk of 50 and the link to the next set of contacts?
Support Engineer, Constant Contact