Re: Http Error 2 on uploading image

  •  05-06-2014, 2:36 AM

    Re: Http Error 2 on uploading image

    iFidelis:

     Hi

     

    I was able to fix the issue. Following are the steps of error occurence and fixing:

     

    a. Everything in the application was working fine, and all of a sudden one day Image Upload functionality started giving "http error 2". 

    b. I was able to find http error 2: only listed in core.js

    c. The only thing that I can do is to go through all the changes that I have made in past few days. After checking all the changes, I was able to only identify one change which potentially could cause this issue. 

    d. The change was related to Compression Attribute that I added to the MVC Controller so that the result could be compressed. 

    e. On Ajax call in Upload functionality, it was causing the issue during compression. 

    f. The fix was to remove my Custom Compression action filter for the Ajax Handler of Rich Text Editor. The change worked and upload functionality started working again. 

     

    http error 2: was certainly of no help :-(. Just wanted to share the above if it helps anyone who faces this or similar issue.  

     

    Raghav 

     

    Thanks for sharing the experience.


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread