无法在VisualStudios服务器中上传声音文件 [英] Can't upload sound files in visualstudios server
问题描述
每当我尝试上传声音文件IO时,都会出现错误页面加载时重置了与服务器的连接".声音文件是5.58mb,一个.OGG.我的服务器是Visual Studios 9(2008).表单使用enctype ="multipart/form-data".我觉得这可能是文件大小限制,但我不知道在哪里可以更改文件长度.
Whenever I try to upload a sound file IO get the error "The connection to the server was reset while the page was loading.". The sound file is 5.58mb, an .OGG. My server is visual studios 9 (2008). The form uses enctype="multipart/form-data". I have a feeling it may be a filesize limit but I dont know where to change the file length allowed.
如何修复页面加载时重置了与服务器的连接".我的代码有问题吗?
How do I fix a "The connection to the server was reset while the page was loading." problem in my code?
推荐答案
在web.config中:
In the web.config:
<system.web>
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
<sessionState timeout="60" />
</system.web>
我在
这篇关于无法在VisualStudios服务器中上传声音文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!