日期:2014-05-17  浏览次数:20491 次

求助 uploadfy老是爆http 500错误
问题就是我在项目A里面用uploadfy,只要上传就错误Type=HTTP,错误信息是500,断点调试的话根本进不去。但是我把代码拷到项目B里面一切正常 这都搞疯了要
 

 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <link href="/Scripts/upload/uploadify.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Scripts/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/js/upload/swfobject.js"></script>
    <script type="text/javascript" src="/js/upload/jquery.uploadify.v2.1.4.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#upload").uploadify({
                'uploader': '/Scripts/upload/uploadify.swf',
                'script': "/Ajax/Ajax/UploadImg",
                'buttonImg': '/images/addimg.gif', 
                'width': 60, 
                'height': 22, 
                'queueID': "none",
                'queueSizeLimit': 20,
                'method': 'post',
                'wmode': 'transparent',
                'auto': false, //是否自动上传
                'multi': false, //是否多文件上传
                'fileExt': '*.jpg;*.jpeg;*.gif;*.png;*.bmp;',
                'fileDesc': '*.jpg;*.jpeg;*.gif;*.png;*.bmp;',
                "onComplete": function (event, queueID, fileObj, response, data) {
                    console.log("success");

                },
                "onSelectOnce": function (e, queueId, fileObj) {
                    $('#upload').uploadifyUpload();
                },
                "onError": function (event, queueId, fileObj, errorOb) {
&