I am trying to insert/update contact records in to CRM 2011 (On premise RO15) using CRM web services. I am using SSIS package to get data from my source and using C# (script component) inserting them in to CRM.
Originally I was using one row at a time using ContactInput_ProcessInputRow(ContactInputBuffer Row) method. This would insert one row at a time and after reading this post I changed in to bulk import using ContactInput_ProcessInput(ContactInputBuffer Buffer) method.
This appears to fix the problem at first when it starts inserting rows. But after about 1500 rows, I get timeout error. Normally, I would change the client side timeout settings in config file but because this is done through script component, I don't see config file. I have also increased timeout limit on server side to 24 hours.
The C# code I am using is same as the bulk insert code from the post (linked) above. I have changed the buffer size to 10 as that is what Scribe use and works well with CRM 2011 setup we have.
How do I fix this timeout issue? I am expecting to have around 5K records per integration.