web services - CRUD processes using SSIS and C# into CRM 2011 -


i trying insert/update contact records in crm 2011 (on premise ro15) using crm web services. using ssis package data source , using c# (script component) inserting them in crm.

originally using 1 row @ time using contactinput_processinputrow(contactinputbuffer row) method. insert 1 row @ time , after reading this post changed in bulk import using contactinput_processinput(contactinputbuffer buffer) method.

this appears fix problem @ first when starts inserting rows. after 1500 rows, timeout error. normally, change client side timeout settings in config file because done through script component, don't see config file. have increased timeout limit on server side 24 hours.

the c# code using same bulk insert code post (linked) above. have changed buffer size 10 scribe use , works crm 2011 setup have.

how fix timeout issue? expecting have around 5k records per integration.

thank replies. think have fix issue adding following block of code in app.config file (in script component).

    <system.web>     <httpruntime executiontimeout="12000"/> </system.web>  <system.servicemodel>     <bindings>         <nettcpbinding>             <binding name="longtimeoutbinding"               receivetimeout="02:00:00" sendtimeout="02:00:00" closetimeout="02:00:00" opentimeout="02:00:00">                 <security mode="none"/>             </binding>         </nettcpbinding>     </bindings>      <services>         <service name="longtimeoutservice"           behaviorconfiguration="longtimeoutbehavior">             <endpoint address="net.tcp://localhost/longtimeout/"               binding="nettcpbinding" bindingconfiguration="longtimeoutbinding" />         </service>         </services>         </system.servicemodel> 

i did few follow tests , managed insert/update around 7k records no error. hope lost soul me!


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -