Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8028163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:03:10+00:00 2026-06-05T00:03:10+00:00

I have written a MVC3 application in which I use Valums fileuploader . When

  • 0

I have written a MVC3 application in which I use Valums fileuploader. When a user uploads a file, the server passes back a JSON object indicating success/failure and possibly an error message. Some users are reporting that their browser asks them for action as if downloading a file (save/open), instead of passing the JSON to the javascript.

I’m using the uploader as distributed, and my C# controller returns a JSONResult like this

return JSON(new { success = true }, "application/json");

Or if something goes wrong

return JSON(new { success = false, error = exception.Message });

I have been unable to reproduce this, and have gotten reports from users of both IE9 and Chrome. Has anyone had this happen, and what did you do to solve it? Or where should I start troubleshooting?

EDIT:
The file uploader will run this on the onComplete event:

function(id, filename, responseJson) {
  if(responseJson.success != true) {
    alert("An error occurred: " + responseJson.error);
    return false;
  }
  return true;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:03:14+00:00Added an answer on June 5, 2026 at 12:03 am

    Turns out the problem is that IE does not handle the application/json content type. Setting it to text/html makes it work, although it is quite awful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an MVC3 application, in which the user is sent an email, having
I have an ASP.Net MVC3 web application written in C#. I have one ActionResult
I have written a generic CSV file reader that I'm trying to use to
I have a fairly large MVC3 application, of which I have developed a small
I have written a app in PHP on my localhost server using XAMP, which
I have application wirtten in MVC2. In the host server is installed MVC3 framework.
I have written an AIR Application that downloads videos and documents from a server.
I've written a simple web application using asp.net mvc3 and I have a login
I have an MVC3 web application written in C#. I am using McvMailer to
I have an Ajax post call written in a separate .js file which I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.