Iis change required for bulkcopy

Sqlbulkcopy not inserting all rows into tables from databases.

I tried batch size and sqlbulkcopytimeout which is working in local but not after deployment in iis..

Do we need setting change for iis