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 7586629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:28:31+00:00 2026-05-30T19:28:31+00:00

I am using .NET MVC3 along with JQuery uploadify plugin and I seem to

  • 0

I am using .NET MVC3 along with JQuery uploadify plugin and I seem to get a HTTP 302 error from the returned ‘onError’ Uploadify object.

When I check in firebug, it seems there isn’t even anything getting posted back to the server, just the get for the cancelImg.

Can anyone help?

The following is my view code and in the global.asax file I have the “/settings/terms-and-conditions/upload” part setup to go to my controller which is a follows also

$(document).ready(function () {
    var t = '@(Request.Cookies[FormsAuthentication.FormsCookieName] != null ? Request.Cookies[FormsAuthentication.FormsCookieName].Value : string.Empty)'; 

    $("#file_upload").uploadify({
        'uploader': '@Url.Content("~/_media/scripts/uploadify/uploadify.swf")',
        'cancelImg': '@Url.Content("~/_media/scripts/uploadify/cancel.png")',
        'buttonText': 'Upload Files',
        'scriptData': { token: t },
        'script': '/settings/terms-and-conditions/upload',
        //'folder': '/uploads',
        //'fileDesc': 'Image Files',
        //'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
        'multi': true,
        'auto': true
     });
});

Controller

 [AcceptVerbs(HttpVerbs.Post)]
  public string Upload(HttpPostedFileBase fileData)
    {
        //var fileName = this.Server.MapPath("~/uploads/" + System.IO.Path.GetFileName(fileData.FileName));
        //fileData.SaveAs(fileName);
        return "ok";
    }
  • 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-05-30T19:28:32+00:00Added an answer on May 30, 2026 at 7:28 pm

    its to generally to do with the following

    <authorization>
       <allow users="*"/>
    </authorization>
    

    From your web.config

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

Sidebar

Related Questions

i'm using asp.net mvc3 with jquery datepicker widget. i want the user to click
Greetings, I'm using https://github.com/blueimp/jQuery-File-Upload (downloaded the version as of 5/21/2011) along with ASP.NET MVC3.
Using .Net 3.0 and VS2005. The objects in question are consumed from a WCF
Using .Net and Oracle 11g - I've been returning dataTables from a procedure inside
When using .NET's WebBrowser control, how can I get the entire HTML of the
I am using asp.net mvc3. I am making a bitmap using text by system.drawing.
I had created a webpage using asp.net mvc3 razor. I have two master pages
I build my web site using asp.net mvc3, layout is 2 columns, main content
I have an ASP.NET MVC 3 app and I'm using jQuery DataTables as grid.
Using: ASP.NET MVC3 Ninject 2 Fluent nHibernate I have 2 databases (DB1 & DB2).

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.