如何通过Web服务在数据库中插入批量数据(500 Mb以上)? [英] How Do I Insert Bulk Data (Above 500 Mb ) In Database Through Webservices?

查看:183
本文介绍了如何通过Web服务在数据库中插入批量数据(500 Mb以上)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发基于云计算的基于Web的应用程序,我使用了Web服务...我想使用webservices将批量数据上传到数据库中,所以我在Web服务中添加了额外的元素。 ..代码....





I am developing web based application which is based on cloud computing and i have used web-services ...i want to upload bulk data into the database using webservices so i have added the extra elements in the web-services....below code....


<system.web>
		<httpruntime executiontimeout="900" maxrequestlength="99999" />
</system.web>













<system.webserver>
   <security>
	<requestfiltering>
		<requestlimits maxallowedcontentlength="9999">
	</requestlimits></requestfiltering>
   </security>
</system.webserver>







但问题是它没有上传超过90 MB ....我想要你的帮助..

谢谢...... :)




but , the problem is it doesn't upload more than 90 mb....i want your help..
Thank you...:)

推荐答案

As根据您当前的Web中的maxrequestlength和maxallowedcontentlength元素设置进行配置不会上传超过90MB。请记住, maxRequestLength 接受 KBs maxAllowedContentLength 字节。相应地增加它。另外,将 executiontimeout 增加到最佳时间。
As per your current maxrequestlength and maxallowedcontentlength element settings in Web.Config it wont upload more than 90MB. Keep in mind that the maxRequestLength accepts in KBs and maxAllowedContentLength in Bytes. increase it accordingly.Also , increase executiontimeout to an optimal time.


这篇关于如何通过Web服务在数据库中插入批量数据(500 Mb以上)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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