Click here to Skip to main content
15,921,113 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi All,

I am uploading excel file in asp.net by using ssis package. if excel file size is small then that upload working fine but if excel file have big data (i.e. 30 mb) then data not upload and in ssis log "System resource exceeded." message is display.

When i run my application from webserver then upload fine but when i configure application in IIS then only i am facing above issue.

My application Details
ASP.net 4.0
SSIS 2008
SQL server 2008 R2

Please help!!!
Posted

1 solution

increase the runtime of IIS..by default it will be 9...Increase it and add the below line in your web.config

<pre lang="c#">< httpruntime maxrequestlength="2097151" executiontimeout="900000" usefullyqualifiedredirecturl="false" minfreethreads="8" minlocalrequestfreethreads="4" apprequestqueuelimit="100" />



You can upload upto 1 GB in SSIS
 
Share this answer
 
v2
Comments
jangid82 14-Jan-14 6:17am    
Dear Cenarjun,

Thanks for prompt solution but i am facing still same issue after changes as per your solution. In my application side SSIS package executed successfully no error found but in my database ssis package log still same "System resource exceeded."

I have also check application system event viewer. in this i got two stages-
1. Package "" started.
2. Package "" finished successfully.

it take only 8 seconds for execution.

Please help me
Cenarjun 14-Jan-14 7:38am    
Sounds like you have a memory leak. Are you making sure to close and dispose of database connections?
jangid82 14-Jan-14 8:41am    
Dear Cenarjan,

If i using application by webserver ( port ) direct run then upload successfully but i am facing this issue only when i hosted application in iis.
Cenarjun 15-Jan-14 0:57am    
increase the timeout period in IIS...

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