Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have excel file which have 2,20,000 records and 40 Mb Size..i want to read this excel file with OleDbDataAdapter and store result into dataset in asp.net with c#...this is perfectly running in my local machine but when i deploy this application in IIS 7, i cant read data from this large excel -file, i already change the web config also and also test with small data its working with small amount data.. i think it is issue of large amount of data...Can you plz help me to solve it out? is that any changes done in IIS 7 or not regarding this ?
Posted

1 solution

Two things spring to mind: firstly that your IIS setup has a limited application memory pool, and your app may be exceeding that. The other is that it is just taking too long to process them all.

The first place I'd start is with the IIS server logs[^] to identify where the bottleneck is.

But...if you load 220,000 records into a dataset, I do hope you aren't trying to display them all - as that is what is known in web site design circles as "user hostile" or "just plain dumb".
 
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