SSIS包在asp.net中的大尺寸excel上传问题。 [英] Big size excel upload issue in asp.net by SSIS package.

查看:83
本文介绍了SSIS包在asp.net中的大尺寸excel上传问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在使用ssis软件包在asp.net上传excel文件。如果excel文件大小很小,那么上传工作正常,但如果excel文件有大数据(即30 mb),那么数据不会上传,并且在ssis日志中超出系统资源。消息显示。



当我从网络服务器运行我的应用程序然后上传很好,但是当我在IIS中配置应用程序时,我只面对上述问题。



我的应用详细信息

ASP.net 4.0

SSIS 2008

SQL server 2008 R2



请帮忙!!!

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!!!

推荐答案

增加IIS的运行时间。默认情况下它将是9 .. 。增加它并在你的web.config中添加以下行。



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" />







您可以在SSIS中上传最多1 GB


这篇关于SSIS包在asp.net中的大尺寸excel上传问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆