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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:09:38+00:00 2026-06-08T13:09:38+00:00

I have a jQuery ajax call that is working fine in IE, but continually

  • 0

I have a jQuery ajax call that is working fine in IE, but continually errors in Chrome and Firefox. I have similar ajax calls elsewhere in my application and they work fine in all browsers but for some reason this one doesn’t.

First off, is there something obvious that I am doing here that would break in browsers other than IE, and second and just as important, is there a way to get something meaningful out of the error: function (e) {} block?

                $.ajax({
                type: "POST",
                url: "http://localhost:52350/FabRouting/Webservice/FinalizeFileStream.asmx/FinalizeFileStreamDoc",
                data: JSON.stringify({ DocID: docID, FileSize: file.size }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (data) {
                    if (data.d.length == 0) {
                        //error
                        $("[id$=txtResult]").val("error 0");
                    }
                    else {
                        $("[id$=txtResult]").val(data.d[0].Result);
                    }
                },
                error: function (e) {
                    //error
                    $("[id$=txtResult]").val("error");
                }
            });
  • 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-08T13:09:40+00:00Added an answer on June 8, 2026 at 1:09 pm

    It ended up not being my code or the browsers (well kinda) after all, just my error.

    I kept researching and read something where someone was having trouble with a cross-domain ajax call giving errors. I am not trying to do that, however I did have two Visual Studio web servers spun up for some reason. I looked and I was calling the webservice with a hard coded url (http://localhost:52350/FabRouting/Webservice…….)for the time being and I was using the new url (http://localhost:59986/FabRouting/Tes…..) to access the page.

    This was working fine in IE for some reason, but when I was trying it in Chrome or Firefox it was not working. I changed where I was accessing the page and I got a good return value from the ajax call.

    I would still like to know how to get a more meaningful error and @dtryan has me part way there. If anyone can help me figure that out I will mark theirs as the answer and not this answer.

    EDIT:
    I later found that I was in fact able to get error messages the way I was trying before and the way @dtryan was suggesting as well. The problem was that for some reason since this was throwing an error because it was trying to go cross-domain, but I wasn’t able to capture that error.

    I have since had out of memory errors, etc and those I am able to capture and see just fine. I think this just was a perfect storm causing the errors not to be visible. If anyone has any way to capture these errors it would be good to know.

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

Sidebar

Related Questions

I have created an jquery ajax call and it is working fine in Chrome,
I have a jQuery ajax call that returns html of a table. Now I
I have a jQuery AJAX call that I will need to do multiple times
A situation I ran across this week: we have a jQuery Ajax call that
I have a web service that returns this string via the jQuery $.ajax() call
I have a jquery Ajax call function that I use to submit form to
I have a WCF Ajax enabled web service that I call via jquery. It
I have some jquery ajax call that returns a simple string. The interpretation of
I have created a http handler fro my Jquery ajax call. which is working
I have the following Jquery Ajax call that upon completion changes the HTML of

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.