Ajax Post to .cfm throws IIS 500 (but same post to .aspx does not error)

I have a cross domain ajax call properly set up and tested to resolve to a .cfm but IIS throws a 500 error.
Here is the scenario:
On one domain (a.tld) I have an ajax application.
This application posts to another domain (b.tld).
When a.tld posts to a .cfm on b.tld, I get a 500 error. But, when a.tld posts to a .aspx on b.tld, it returns just fine. Both the .cfm and the .aspx are returning a single json name value pair (really just some text).
Now, this is interesting, when I switch the POST to a GET, the .cfm works just fine. So, to summarize:
1. ajax POST to aspx works fine.
2. ajax POST to cf gives 500 error.
3. ajax GET to cf is fine.
So, this appears that IIS is blocking ColdFusion from getting the cross domain ajax call or that ColdFusion does not have permission to act on the POST. Does anyone know what might be causing this issue?

Have the same problem.  Ajax and Post do not play well together.  Last I checked it is a browser problem.
Using “GET” is a problem too if you need to ajax a lot of data. . 
If you are using the ajax to validate a page, a good work around is to open a dhtml iframe window (see http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm) and then do the validation in popup window. 
As you are validating, use cfflush to show what’s going on:
Checking value 1:  Pass
Checking value 2:  Pass
Checking value 3: Fail  - date range is not valid.

Similar Messages

  • I went to iCloud and my mail doesn't recognize my password but even worst my iTunes does not want to open because it says my library is blocked somewhere on a hard disk where I  have no access ...

    I went to iCloud and my mail doesn't recognize my password but even worst my iTunes does not want to open because it says my library is blocked somewhere on a hard disk where I  have no access ...
    HELP HELP

    To confirm, your existing mail client isn't communicating with your existing and remote mail services at Dreamhost? Which mail client are you using (Apple mail?), and how is mail on the client set up?
    It would initially seem that your client is still referencing the server, either for its inbound or outbound mail. (And I'm not sure how unplugging the server helps here, unless there's some sort of a configuration issue, or a duplicate network address or such.) This would usually be something within the configuration of the mail client.
    The Mac OS X Server is significantly easier than the many other servers and server operating systems I've dealt with over the years, but it requires reading the manuals and/or some knowledge of networking and of server environments.
    Small shops and home folks without the time or inclination to "spin up" on these server areas can be well-served with some help initially configuring the server. Servers are different from clients. Stuff that you're implicitly used to using when you're running a client -- the DHCP server, for instance -- are what the servers provide you with.
    As for Mac OS X Server and particularly if you head outside of the default settings and sequences and off into the customizations, which is what has happened here, you might want to engage some assistance. Not just for the direct and obvious initial set-up sequence, but also for getting you set-up and started with backups and other such tasks. Before you get too deep in here and get too much underway and too much saved on your disks, do seriously consider getting somebody in to help set this box up for you.
    Mac OS X Server is not "no IT", but it is rather closer to "less IT" than most. Particularly once you get it configured and running.

  • I am trying to install Illustrator C6 on new system (Win8.1), Already de-activated from old system.  I downloaded the 3 files.  First file opened and had fonts, but second file (1.8Gb) does not open; does not appear to have an exe file. How do i install?

    I am trying to install Illustrator C6 on new system (Win8.1), Already de-activated from old system.  I downloaded the 3 files.  First file opened and had fonts, but second file (1.8Gb) does not open; does not appear to have an exe file. How do i install?

    what files (names and extensions) did you download?
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • I had an iphone 4s and it worked nice with facetime and imessage using my phone number but  it was stolen on December so I buy a new iphone 4s using the same cellphone number  but now imessage and facetime does not work with my number, it only works with

    I had an iphone 4s and it worked nice with facetime and imessage using my phone number but  it was stolen on December so I buy a new iphone 4s using the same cellphone number  but now imessage and facetime does not work with my number, it only works with my apple ID.   Please Help me I speak Spanish so  if my English is not ok  I´m sorry about it.
    Do you think that apple has to   reset in their database of the old serial number attached with my phone number and that’s why I can´t activate imessage and facetime with my number in the new iphone 4s?? 

    I understand all of this Meg; that is why I bought an Iphone; but never expected my phone not even give a at least a 24 or even 12 hours....I work 12 hour shifts and also would expect to have to charge each night but not twice a day or more.  I am not always somewhere I can charge my phone.
    Your points are true; however it doesn't help me......

  • Posting key 12 does not permit specification of a special G/L indicator Urg

    hi all
    i want to riverse the cross company code transaction showing follwing messages
    Posting key 12 does not permit specification of a special G/L indicator
    Posting key 22 does not permit specification of a special G/L indicator
    regards
    JK Rao

    Hi
    Please go to transaction code OB41 and for the posting keys 12 and 22 please ensure that there is a tick mark for the special G/L indicator. Then your entry can be completed.
    Let me know if it helped and do assign points if found useful.
    Check the posts in the thread tittled - "re:Cross Company Code Code Transaction Riversal urgent"
    Karthik
    Message was edited by:
            Karthik Coneru

  • I downloaded ios7 after being asked to restore. But now my phone wont connect to the activation server and is asking to restore again but I cant because itunes does not show any of my phone information

    I downloaded ios7 after being asked to restore. But now my phone wont connect to the activation server and is asking to restore again but I cant because itunes does not show any of my phone information (it just shows a blank white screen with "iphone" in the centre".

    I imagine a ton of people are attempting to activate after the update, and the server is getting overloaded. Simple patience, maybe keep trying, and if possible, try a little later. Think of it as all those people lining up at Apple Stores + about a million more.

  • HT4623 I have updated my iPhone 5 but after this update it does not accept charging

    Dear Sir/Ma'am,
    I have update my iphone 5 software with iOS 7 but after this update it does not accept the charger or neither any charging ?
    I need to know how to solve this issue please.
    Thank you

    Well when you download the update with iTunes it will always download the whole new version (in your case 7.0.2) even if its just an bug fix. If you already have 7.0 download the update over-the-air.
    You already wrote that the update is only 21 MB, so its not the whole firmware package of 7.0.2 you get with iTunes.

  • HT3702 I purchased a book called Activity-based costing for $3.99. I tried to open the file but it said my computer does not have IOS. I have a smartphone and I am unable to view the book. I am requesting since I am unable to use the book activity-base co

    I purchased a book called Activity-based costing for $3.99. I tried to open the file but it said my computer does not have IOS. I have a smartphone and I am unable to view the book. I am requesting since I am unable to use the book activity-base costing, a refund.
    Kevin

    I don't know what you are saying. How do I get my money refunded.

  • My laptop macbook pro with maverick was working well with AVERTV VOLAR a dongle to capture tv programmes but now with yosemite it does not recognise what options I have

    My laptop with macbook pro with maverick was working fine with a dongle AVERTV VOLARGO to capture tv programmes but now with yosmite it does not recognise what options have

    I also understand that there is particular software 'TRIM' a software introduced by CINDORI SOFTWARE which will disable KEXT SIGNING a security application of YOSEMITE ,Is it the only option or there are any better options for this

  • I try to log into itunes but get message Apple ID does not have permission to access iTunes Connect.

    I try to log into itunes but get message Apple ID does not have permission to access iTunes Connect.
    What do I need to do to have access to iTunes?

    do you have your apple id set up for publishing books?
    please take a look here:
    https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wa/bookSignup

  • Trying to PSE 8 as editor in IPHOTO 11 but the option "In application does not

    I'm trying to use PS Elements 8 as an external editor in iphoto11, but the option "In application" does not appear as an option for Edit in:.  This previously worked but now I only have the option of editing in iphoto.  The move of the menu item from general to advanced seems to have screwed it up.   Any one have a similar problem??

    try renewing your iPhoto preference file -
    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN 

  • TS4424 i have reinstalled both updates as advised above, but mail v4.6 still does not work and I still get the same error message on mail 4.5

    I have reinstalled both updates as advised above but mail v4.6 still does not work and mail v4.5 continues to have the same error message?

    Maybe some help here.
    http://support.apple.com/kb/TS4424

  • I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?

    I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?
    Thank u

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • I am currently using text edit and trying to save in icloud.  But the option of icloud does not show in the 'where' box?

    I am trying to save a file in text edit in icloud.  But the option of icloud does not show up in the 'where' box?

    You cannot. iCloud is not for textedit
    Read here https://discussions.apple.com/message/20351781#20351781

  • How can I block a number that calls me persistently every single day but only shows 3458  it does not show the full 10 digit

    how can I block a number that calls me persistently every single day but only shows 3458  it does not show the full 10 digit so on your block page will not let me block it!!!  So frustrated and I am not answering it with all the hackers out these days I don't want to give them access to my phone.

        @lottsandy
    I can understand your frustrations and concerns with receiving these unknown calls!  I would love to assist you with preventing these types of calls.
    Sounds as though you're receiving some type of telemarketing call.  Although you're unable to add the shorter numbers to your call block list, you can definitely add your number to the National Do Not Call registry http://1.usa.gov/1whONxp.  I hope this will help prevent those unwanted calls.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Search Option in JSP page

    Hi all, Any one can help me to do the search option in JSP pages. regards, Bala

  • How to suppress zero values in EVDRE Report?

    Hello. In my EVDRE Report I need zero values to be suppressed. But SAP BPC NW 7.0 Help says that The system does not suppress rows or columns returning a zero (where a zero amount is stored in the database) So how can I suppress zero values? P.S. In

  • SolMan BW Setup: Install Datasource not working - no datasources displayed

    Hi there, I am busy with new SolMan EHP1 SPS6 implementation and doing the Basic Settings > BW Setup in the IMG. The SolMan and BW client is the same (all on SolMan client 700), and I have done the General Settings. Moving to the BW-Based EWA Reporti

  • Correct location of man pages?

    Hi, I'm still pretty new at the command line. I installed growlnotify to play around with it, but the install script puts the man page in the wrong place (/usr/local/man/man1). I found a post that said it should be moved to /usr/local/share/man/man1,

  • Sconfig "invalid index" and IPV6 disabled

    I have problem with sconfig.vbs on Windows Server 2012 R2 Core. I have to disable IPV6 on our network. But when using sconfig.vbs to modify network settings, there the exact same issue described here: http://en.gpunktschmitz.de/847-windows-server-cor