在Asp.Net上传MP3文件时出错 [英] Getting an error during uploading MP3 File in Asp.Net

查看:84
本文介绍了在Asp.Net上传MP3文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All Experts,



我在上传mp3(100 MB)文件期间遇到问题(Flash:上传任务被中断)。我正在使用ajax UploadAttachments进行上传。我已经在web.config文件中增加了长度.......上传8%完成然后触发上面的错误。

Hello All Experts,

I am facing a problems (Flash: The Upload task is interrupted io) during upload mp3 (100 MB) File. I am using ajax UploadAttachments for uploading. and i have already Increased Length in web.config file.......its upload 8% complete then fire this above error.

推荐答案

默认文件上传大小是4MB



你必须在web.config文件中更新以增加限制。



如果超过解决方案不适合您,然后告诉我们您的错误,详细信息。



谢谢
Default file uploading size is 4MB

you have to update in web.config file for increase the limit.

if above solution is not working for you then show us your error, for detail.

Thanks


在web.config中进行以下更改:

它接受100Mb文件,尝试上传小尺寸文件。



Make following changes in web.config:
it accept 100Mb file , give a try to upload small size file.

<system.web>
   <httpRuntime maxRequestLength="102400" executionTimeout="3600" />
</system.web>

and

<system.webServer>
  <security>
    <requestFiltering>
      <requestLimits maxAllowedContentLength="100000000" />
    </requestFiltering>
  </security>
</system.webServer>


这篇关于在Asp.Net上传MP3文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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