PhoneGap Blackberry App doesn't work for ajax, gives 500 Internal Server Error calls

Hi all, I have developed an application that off a call ajax to the server aspx page.

The call fails when I'm the trigger through the public IP address, but even works fine when triggered by a local IP address.

The aspx page works very well when it is called by the browser, the question is when ajax call is made from the app.

Everything works fine on Android versions and iOS Apps with the same code.

The configuration file also has access origin defined at all (*)

$.ajax({)

LINK: URL OF THE ASPX PAGE.

type: 'POST',

processData : true.

data : {params},.

cross-domain: true,

error: function (result)

{alert (result.status + "" + result.statusText);},

successful operation:

"function (Data) {alert ("success") ;}});

Please help, thanks

do white list all URLS for Ajax calls. the accessible areas via Ajax must be explicitly whitelist.

Tags: BlackBerry Developers

Similar Questions

  • After submitting my info, I had the SERVER ERROR: 500 internal server error! There is a problem with the resource you are looking for, and it cannot be displayed. :

    Over the four days, I've lost two e-mail accounts:

    1 * e-mail address is removed from the privacy *

    2nd * e-mail address is removed from the privacy *

    I went to www.windowslivehelp.com

    I filled in all the information and answered all the question. I provided

    the email address where I can be reached: * address email is removed from the privacy *

    But when I click on submit

    "The display shows:" Server error

    500 internal Server Error. There is a problem with the resource you

    can are looking for, and it cannot be displayed' you explain or tell me

    How can I return my email accounts. Thank you and best regards

    B.Okediji sanogo

    {deleted}

    E-mail address is removed from the privacy *.

    Hi Zacheus B.Okediji,

    1. what web browser do you use?

    2. when the problem started?

    The website you are visiting had a server problem preventing the display of the Web page. It often occurs due to maintenance of the site, or due to a programming error on interactive websites that use scripts.

    For more information, see the following article:

    Get help with the Web site (HTTP error) error messages.

    If you use Internet Explorer, you can read the following article and try steps 2, 3 and 4 to solve the problem.

    Internet Explorer is slow? 5 things to try

    Note: Resetting the Internet Explorer settings is not reversible. After a reset, all previous settings are lost and cannot be recovered.

    You can also visit the following links to support Windows Live:

    "Server too busy", "Internal Server Error" and we do little maintenance to improve the service.

    Internal server error when trying to open hotmail

    Hope this information is useful.

  • bought iphone7 pluse Qatar facetime doesn't work for the sim card of the India

    Hello Sir,

    I bought iphone7 pluse in qatar that the facetime doesn't work for the sim card of the India. and also before 2 years I bought the iphone 6, as well as in the same countries qatar, but that works perfectly and facetime works for me. the difference what I unbox my 6plus in indai, I unbox my 7plus in qatar and I put the sim card of sri lanka first and tried to India sim then and facetime disappear from the home screen. at the point where I insert my card sim of qatar is worrking. Please I need help. If I buy another piece of 7plus and bring it in sri lanka or India my facetime work? or what? I'm totally confused plese answer me as fast as you can

    FaceTime is forbidden by the law in Saudi Arabia and the UNITED Arab Emirates and is removed from iPhones sold in other countries of the Middle East, if they are used outside the country where they were originally sold. If you plan to use an iPhone outside the Middle East, then don't buy it in the Middle East. The one you bought there FaceTime was illegally imported from another region and sold it.

  • I keep seeing pop up ads powered by '' cn tatami '' whenever I have to navigate using Safari or open a link on the FB Adblocker app does not work for this. Any suggestions? There is no option to cross the pop-up ad that it redirects to various Web sites.

    I keep seeing pop up ads powered by '' cn tatami '' whenever I have to navigate using Safari or open a link on the FB Adblocker app does not work for this. Any suggestions? There is no option to cross the pop-up ad that it redirects to various Web sites.

    Cache and history of the site Clear settings - Safari -.

    (1232)

  • Hi, I downloaded CC on my laptop yet CC serial number doesn't work for my office and says it's a counterfeit disc?

    Hi, I downloaded CC on my laptop yet CC serial number doesn't work for my office and says it's a counterfeit disc?

    Pippa,

    Please see this link for help:

    True verification download or installation failure produces creative suite 6

    Guinot

  • My computer says that it is connected to the internet but the HTTP 500 Internal server Err error rises. How I get working again?

    Why my internet has stopped working

    My computer says that it is connected to the internet but the HTTP 500 Internal server Err error rises. How I get working again? I have another computer in the House and that works very well.

    http://support.Microsoft.com/kb/321448

    In some cases, you must remove the cookie as well.
  • Internal server error after refresh for you to connect to Oracle SSO

    Users get internal server errors after updating to lgin by Oracle SSO (SSO, registered after that update is successful). Users can always through AppsLocalLogin.jsp. Please notify.

    don't you see certain values for fnd_user.user_guid?

  • BlackBerry Smartphones BlackBerry App World doesn't work for us

    Hello
    I am a resident of Saudi Arabia and when I download software BlackBerry father tells me an error can not download
    Knowing her that I know that it doesn't work in Arab countries, but this thing bothers me very
    Please provide the solution
    ----------------
    Note that I use Google translation

    When all your Saudi mobile providers to sign agreements with RIM BlackBerry to support App World, then App World will be available for your devices.

    Right now, it's your mobile phone operator. You should call them and put pressure to get App World taken in charge.

    Good luck.

  • How Smartphones blackBerry App World research work?

    Hello!

    I realized that the only way to appear in the results of the research is with words app name.

    It does not matter what is your description or a brief description, words on behalf of the application are taken into account.

    This means that you can not name your app with only a 'name' as it will not be shown by search terms.

    I am a true?

    It's ugly! I have apps that must be found by keywords and I can't put them not all in the name.

    It would be very useful to have a field of keywords on the application settings.

    Your results are correct, that the search only currently works on the title of the app.

    I was talking to one of the AppWorld reps to BlackBerry 10 Jam on this subject and AppWorld similar questions.

    for example, I was looking to download ' MorphWiz -play' but I don't remember that the app name contained the word 'play' so I looked on this... several hundred applications related Nations United came because many apps themselves labeled as "something for BlackBerry playbook.

    As BlackBerry 10 will work many of the apps currently in AppWorld for the PlayBook... the additional 'suffix' in 'for the BlackBerry PlayBook"will become misleading and innaccurate.  The representative stated that there are several changes coming to this address... as well as research in general.

    Read between the lines, I understand that current research on the title was only due to many developers using "keyword stuffing" in their descriptions of the app, which once again made useless search results.

    As to what the "next" search strategy is exactly... I don't know... but I like it to be something like:

    1. Strip the suffix on all applications that are ' "something for BlackBerry PlayBook
    2. Change the search to face both the app title and description
    3. Weigh the results such as the matches in the title are higher than these games in the description
    4. As is currently... matches for applications with both 'A' AND 'Keyword B' weigh more than results that match on 'keyword to' GOLD "keyword B"... it is important that it is not lost when you enable research descriptions

    At the same time, it would be nice to try to manage the keyword stuffing issue as well... I don't know if this should be done when approving the app (for example to remove obvious joke) or descriptions on the motion of the AppWorld... where descriptions stuffed with low-grade keywords... for example stop game/abuse of the system.

  • Case of pocket torch blackBerry Smartphones does not work for Bold 9780

    Nice day

    I bought a BlackBerry Torch 9800 (ACC32838301) Pocket case, TELUS, but it useless for my flashlight. I want my wife to use this case for his Bold 9780 but the magnet does not work by putting the camera in mode 'sleep'. Why is this? The case is a little big, but still fits well on the Bold 9780. Is the magnet misaligned a very little bit for the "BOLD"?

    I use an old case of leather case that has worked for my old Curve 8330, Bold 9780 and Torch 9800. So why not this new business. Y at - it something wrong with my case specifically, or if it is not designed to work for the "BOLD"?

    http://www.BestBuy.ca/en-CA/product/BlackBerry-BlackBerry-Pocket-case-for-9800-torch-acc32838301-bla...

    Thank you.

    M.

    Hello

    The placement of the magnet is different for different models of BBs. Some are interchangeable, the more I think are not. Therefore, it is always best to use a case that is made for the specific model of BB.

    Good luck!

  • Tile apps doesn't work does not correctly.

    Since yesterday, I open an app on a tile, for example. News money sports, but will not scroll or open stories. The weather or the music is not yet open. He had benn works well for the last 3 years. I have a Dell desktop computer.

    Since he just started Tuesday, restore your system at the checkpoint on Monday.  This simple restore will not hurt your applications or files - you can cancel it even if you don't like the results.  This is by far the thing the safer, faster and easier to try first, and I recommend doing before any longer and more advanced procedures.  A fast food takes about 2 minutes, and I explain how here: cmdrkeene.com/fast-repair-pc-problems

  • Fingerprint utility doesn't work for normal users - Tecra M11

    Hi all

    I installed windows 7 pro laptop Tecra M11 and the Toshiba finger print utility does not work for normal users.
    This works only for domain administrators. The TFPU is not working is not for users in the normal domain, local users, local administrators. If we run the utility, it will ask you to enter the password of windows, and once we have applied the password, then the message saying 'entered password is not valid' will invite even if we try to use the utility first.

    If we try with a domain administrator account, it will work without any problem. Can someone help me just shoot this question?
    Thank you.

    How many people and how many accounts should work on this laptop?

    To be honest I don t know what do you mean under normal users
    Install OS and create user account/accounts, define the utility of fingerprints and let us know if it works properly.

  • BlackBerry 8700 Blackberry Smartphones doesn't work. The only battery symbol...

    Hello

    I just got a blackberry ready while I wait for bolding entered in stock again, and Ive plugged the phone into its charger. However the thing will switch on and instead shows just a picture of a battery with a lightning bolt.

    It's broken or should I just wait longer for the battery to charge up again?

    Dave

    The charging symbol is good. May take 2 to 3 hours for the battery to fully charge

  • BlackBerry smartphones "Blackberry App World is had problems to connect to the server Blackberry App World. "Check your network connections, and then try again.

    Whenever I try to access an application, appworld is a site of the company that send me to appworld I get this error.
    "Blackberry App World is had problems connecting to the server Blackberry App World. "Check your network connections, and then try again.

    I have loaded the bb appworld re have the latest version for my new bb bold 9900, but still the error and then lock up. Power off, and get a message that I had an unknown error.

    People have had this problem since 2010. I never had this problem with my flashlight or my 9000 "BOLD".
    Anyone know what is happening? I also have the latest OS on my 9900.

    Found a solution! Laughing out loud! How delayed. I changed my email in bb code. For example, after changing from one gmail to another account, I changed it back and baaammmm! Problem solved, but do not know why it should be a problem in the first place right?

    Good luck to you guys who do not have the possibility of returning to another email.

  • Flex iOS app refuses to connect to a self-signed SSL server: error 2032

    Hello everyone, thank you for reading this and I hope you could help me with this problem.

    I'll cut to the Chase. I am currently working on a mobile app in Flex for Android and iOS and the app has to get a few HTTP requests and retrieve information from a server, which is currently developing a teammate.

    Everything had to be working very well until we decided a few days before when we have integrated a SSL self-signed certificate in order to make connections more secure, etc.

    On the side of the app, this change, lying just to replace the http with https url and it seems to work perfectly, or that's what we thought.

    Tests on the Simulator or on an Android device worked well, he just showed the warning provided access to a server that had a rogue certificate that could be ignored without any problem. But when we tried to test a Release on a camera of the iPhone version, it would not just work more. A connection every time trying to be established with the server, error 2032 flash is triggered and it fails miserably does not display not warning about certificates not approved at all. For me, it's really confusing that it works on Android devices, but not on the iPhone device.

    I searched on the Web for people having the same problem but I couldn't find an answer to this specific issue of Flex-iOS-Self-signature-SSL. I found this post unanswered questions: http://forums.adobe.com/message/3359072#3359072 but nothing much.

    I tried to create a crossdomain.xml file on the server with guaranteed set to false, and some other stuff to avoid crossdomain policies, but it changed nothing and the problem persists.

    I'm really out of clues, sort of desperate and have no idea how fix it. If anyone knows something related to this problem, please, help me, I'll be less grateful.

    Thank you!

    We decided to buy a verified SSL certificate, and it worked. We can say that the problem is solved, but it wasn't actually because the connection must be established and that the invited user to accept or decline the self-signed certificate, not only do not make the connection.

Maybe you are looking for