asp.net中的Uploadify控件无法在线工作 [英] Uploadify Control in asp.net is not working online

查看:70
本文介绍了asp.net中的Uploadify控件无法在线工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我正在使用Uploadify控件进行多次上传,我在localhost上实现了该控件,它工作正常,但是当我在线托管网站时,它无法正常工作
大多数情况下,它会发出HTTPError
一段时间IO错误

为什么会这样,


在此先感谢
问候
TanzeelurRehman

解决方案

大量搜索解决方案之后.我发现以下代码中带有下划线的代码.这给了我具体的错误

HTTP 407和IO 2038错误

我搜索了这些错误,并得出了我们在建筑物中使用代理服务器的结果.基本上所有上述错误是由于代理服务器引起的.在建筑物外,它可以在除代理服务器方案之外的所有地方工作


< script type = " > 


(文档).ready(功能(){

(' #file_upload').uploadify({ ' 上传器':' uploadify/uploadify.swf'' 脚本':' uploadify/UploadifyCarImage.ashx'' cancelImg':' uploadify/cancel.png'' 文件夹':' <%= UploadifyParam%>'' fileExt':' *.jpg; *.gif; *.png; *.bmp; *.jpeg'' fileDesc':' 图片文件' queueSizeLimit':' 5'' multi': true ' auto': true ' removeCompleted': true ' onError':>功能 (事件,ID,fileObj,errorObj){ alert(errorObj.type + ' 错误:' + errorObj.info); } }); });</script>


Hi Every One

I am using Uploadify control for multiple uploads, I implemented the control on localhost, it is working fine, But when i host the website online it is not working
Most of the time it is giving HTTPError
Some time IO Error

Why this happens,


Thanks in Advance
Regards
TanzeelurRehman

解决方案

After searching a lot for the solution. I found the code which is underline in the following code. Which gave me the specific errors

HTTP 407 and IO 2038 error

I searched for these error and come to the result that we are using proxy server in the building. Basically all the above errors were due to proxy server. Outside the building it is working every where except proxy servers scenarios


<script type="text/javascript">


(document).ready(function () {


('#file_upload').uploadify({ 'uploader': 'uploadify/uploadify.swf', 'script': 'uploadify/UploadifyCarImage.ashx', 'cancelImg': 'uploadify/cancel.png', 'folder': '<%= UploadifyParam %>', 'fileExt': '*.jpg;*.gif;*.png;*.bmp;*.jpeg', 'fileDesc': 'Image Files', 'queueSizeLimit':'5', 'multi': true, 'auto': true, 'removeCompleted': true, 'onError': function (event, ID, fileObj, errorObj) { alert(errorObj.type + ' Error: ' + errorObj.info); } }); });</script>


这篇关于asp.net中的Uploadify控件无法在线工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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