Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am facing problem with asp.net c#. I have one crore file of csv file. When I try to bulk upload all record in a Sql Table. But while uploading data bulk upload after 2 min automatically logout. I increase timeout of application in webconfig but problem remain. Please help me urget.
Posted
Comments
[no name] 14-Aug-14 3:05am    
How much time u fixed in webconfig?
RupeshSharmakol 14-Aug-14 3:33am    
httpRuntime executionTimeout="3600" maxRequestLength="102400" useFullyQualifiedRedirectUrl="true" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"

Are you creating new folder at time of file upload? If yes try to upload file in existing folder. Normally this may happen due to change in directory system.
 
Share this answer
 
v2
Comments
RupeshSharmakol 13-Aug-14 12:37pm    
No. I have csv file records 1 Cr. I read and load all data to list. And try to upload records through bulk insert in c#, But some records insertion after 2 min automatically logout.
RupeshSharmakol 13-Aug-14 23:55pm    
I have list of NDNC mobile number lists which is file size 300MB CSV file. I read all data and load successfully in list. So list have 1Cr. rows. When I list convert to datatable and try to do bulk upload admin log out automatically. DataTable records only 1Lacks at a time.
There are several reasons for session getting expired before specified timeout value.
you can check it Here
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900