日期:2014-05-16  浏览次数:20288 次

ASP.NET空间图片上传问题(用javascript),求高手帮助
错误提示:Failed to map the path '/SystemManager/BookInfoManager/A generic error occurred in GDI+.'. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Failed to map the path '/SystemManager/BookInfoManager/A generic error occurred in GDI+.'.

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
图片上传方法:这是javascript语言
 //上传方法
    function uploadFile(fileId) {

        $("#uploading").ajaxStart(function () {
            $(this).show();
        }).ajaxComplete(function () {
            $(this).hide();
        });

        $.ajaxFileUpload({
            url: "/FileUpload/FileUpload?folderName=/UploadImages/BooKImages/",
            secureuri: false,
            fileElementId: fileId,
            dataType: 'text',
            success: function (data, status) {

                if (data != "-1") {
                    $("#FILEPATH").val(data);
                    $("#ResultShow").html("上传成功!");
                    //$("#returnImg img").attr("src", data);
                    //$("#returnImg img").show();
                    $("#returnImg_show").attr("src", $("#FILEPATH").val());
                    //$("#returnImg_show").show();
                    //$("#regurnImg").html("<img id='returnImg_show'src='"+ data +"'  alt='' style='display: none' />");
                    $("#returnI