Why would Flex not work on some computers?

I have a Flex app that is behaving strange. On my computer I cannot log into the application via Firefox or IE. Yet many other users can.
What I have is a logon screen where they have to authenticate, then it changes state. But for me, the stat never changes. It's almost like my authentication is wrong, but it isn't because I can log on fine on another computer.
[Bindable]
   private var _sLoginUrl:String = "https://www.myhost.com/scripts/verifyUserCredentials.cfm";
  [Bindable]
   private var _xmlLoginStatus:XML;
   private function initApp():void
    }//initApp
   private function authenticateUser():void
      lblStatus.text = ""
      dsLogin.send({username:username.text,password:password.text})
   private function onResult(oEvent:ResultEvent):void
      _xmlLoginStatus = XML(oEvent.result);
     //gets the XML of Aauthentication status
     if (_xmlLoginStatus.pass.text() == "True") {
     //vBoxes are stacked. 0 is first position. selectedIndex 1 is second
     vsMain.selectedIndex = 1;
        lblStatus.text = _xmlLoginStatus.username.text()
        getDeptCredentials.send()
        var username:String = _xmlLoginStatus.username.text()
    //    var password:String = _xmlLoginStatus.password.text()
      else  {
       lblStatus.text = "Log-In failed. Please try again."
    }//onResult
]]>

I would suggest starting but using something like Charles Proxey (or any other similar utility you trust) to identify what is being sent back and fourth from the client to the server.  You may also want to log steps in you CFC's to a text file to see how far it's getting.
Most of the time when I have seen something like this in my own projects I find it's either network related or I have some funky setting I left in a CFC for testing I forgot to turn on or off.
For example:  In one instance I was not able to get a CFC to respond on one system but the one next to it worked fine.  I found out that one system ran to one switch and the other system to a second switch and the second switch was having problems and causing enough lag that the connection was timing out.  It had nothing to do with my code at all.
Alternatley I often will block certain IP Address ranges in my code so that when in a development environment no system that is not on my Allow list can run certain CFC's.  I once spent an hour troubleshooting code only to figure out that I had forgotten to add my new laptop to the allow list.
Might also want to verify there are no firewall issues blocking ports.  Windows Firewall is a real bugger at times regarding this.  I have seen it turn itself back on after updates.
And if you go through a Proxy server you will want to verify that the Proxy is not caching pages.  Especially if you are using CF's Session State Management in any way.  Set the proxy to not cache any pages from that particular site.
Regardless though it's best to see what's actually getting sent to and from the server first before trying to troubleshoot.  So start with Charles or the Network Monitor if your using Flash Builder.
-Joe

Similar Messages

  • I am using iPad1. Running v4.3 and when connecting to wifi iPad keyboard does not work. Keyboard works for everything else including typing this question out. Why would it not work when typingin password for wifi connection?

    I am using iPad1. Running v4.3 and when connecting to wifi iPad keyboard does not work. Keyboard works for everything else including typing this question out. Why would it not work when typingin password for wifi connection?

    Kowhai wrote:
    Lots of WIFI needs a username and password to get access. I guess you're lucky and yours is set up unsecured.
    Normal secured WiFi requires only a password to get access. The password is used to encrypt traffic between your device and the WiFi access point. If whatever you are using requires a username as well then it is not simply normal secured WiFi. It might be a subscription WiFi service like GOGO, ATT, etc., or a service with authentication, i.e., college campus, etc. To help you out we need to know what you are using and what connection dialog you are being presented with. You don't have exactly the same problem as the original poster. He is having a problem entering a password into the password dialog that iOS presents when one tries to connect to a normal secured WiFi network. Could you clarify exactly which WiFi service you are using.

  • DNS not working for some computers

    We have a SRP521W router and is set up with one SSID for wireless. In our office all the computers (5) can connect but only some may get on the internet. I have a laptop I am testing with and it will not connect, wired or wireless.
    I found an article relating to flushing DNS, tried that, no luck.
    I found another that said I should try setting my DNS to 208.67.222.222 and this worked, internet works fine.
    I tried rebooting the DSL modem and router, tried many different things but am not a networking guru so I am just not sure why the DNS is not working for one computer but works for another, connected to same LAN or SSID.
    Thanks,
    Brad

    Though what Don posted is one way to accomplish it, I never add anything to my DNS and it works fine.  Windows DNS, in a default installation, will automatically forward to the root (.com, .edu, .gov, etc.).  So I always just point my workstations
    to my Domain Controller as their DNS and everything works just fine without any additional configuration.
    Guess I'm one of those who won't even trust Google for sharing a DNS, particularly when I have never needed to set up any forwarders.
    .:|:.:|:. tim

  • Why do volumes not work in some of my iPad apps?

    Some app volumes do not work . Why?

    Apps for a mobile device will not work on other devices because the operating system is different.
    when you say, "won't accept user name and password", please be more specific or give example as I'm not sure what you mean.
    what app or account ?

  • Lion Server network accounts not working on some computers.

    Hello all -
    I'm currently having an issue with network accounts working on some Macs but not others. I have a Mac Mini and a MacBook Pro. The Mac Mini works fine and I can login and sync my network account with the server just fine. However, I cannot connect to it from my MBP.
    When I try and connect I get an error that says "You are unable to log in to the user account "xxxx" at this time. Logging in to the account failed because an error occurred."
    If I login through console (by typing in ">console" in the username field) I get an error that says the user does not have a home directory...
    I have searched numourous other forums but I have not found a solution that seems to solve this problem. I have unbound and re-bound my client to the open directory and I have restarted file sharing. Neither has solved the problem. I have a feeling the issue originates somewhere on the MBP since I can log in to the Mac Mini without any problems.
    Anymore suggestions?

    Thanks for your suggestion, SolidWood. Unfortunately it didn't help.
    After a 90 minute phone call with AppleCare, this issue has finally been resolved. Here is what the solution was. Turns out it was pretty simple but it took a while to find it.
    First we created a test user and left the home folder set to Local Only in the Server App. I was successfully able to login with the test user on both clients but since there were no mobility preferences set, it was pretty basic.
    Then, we removed the Users sharepoint from file sharing, turned off file sharing to disconnect any users, and restarted the server. Then we created a new folder on the Server HD with a random name. We chose Darron. We created a new sharepoint in file sharing (with it still turned off), and shared the new folder called Darron. Double click on the sharepoint and scroll to the bottom and check the box that says "Make available for home directories over AFP". Then we restarted file sharing.
    Then we opened Workgroup Manager, clicked on the problem user in the left sidebar, clicked on the Home option at the top, and there were three things listed:
         (None)
         afp://servername.com/Users
         afp://servername.com/Darron
    Then we removed the Darron sharepoint from file sharing, and found that it was still listed as a home directory under the problem user.
    This was the root of the problem. The system didn't know which path to use as the home directory.
    Sooooo...
    In the server app, we opened the Directory Utility (Tools in the menubar, Directory Utility). Clicked on Directory Editor. Authenticate to the directory using the diradmin login. Changed view settings to match this below:
    In the left column, there were two paths listed for home mounts. We deleted both of them, saved changes, and closed directory editor.
    Then, we restarted workgroup manager and both paths had been deleted from the users home listings. This was begining to solve the problem.
    In the Server App, we recreated the users sharepoint, made it available for home directories, and restarted file sharing and workgroup manager. Now only one path is listed for the home folder for all the users.
    This solved my problem of not being able to login on the MBP. The system synced the home folder and all was well. On the Mac Mini, I had to delete the problem account, un-bind from the network server, re-bind, and recreate the account. Now both clients are sycning perfectly and all is well.
    Thank God I bought AppleCare! Thanks to everyone else for their help and suggestions.
    As a recap, the problem of not being able to login to the MacBook Pro was caused by having multiple paths to the multiple home folders. These rogue paths were added somewhere in the troubleshooting process to try and recreate the home directories before I called AppleCare. To solve this, we had to remove the directory listings from accounts using Directory Editor, remove and recreate the users sharepoint in file sharing. The syncing problem on the Mac Mini was also created when multiple paths were introduced. The system didn't know which files to use.
    Taylor

  • Ask your question.Why would 3G not work

    My iPad won't work on 3G even though my phone and other iPads nearby do.

    Nani70 wrote:
    I haven't tried changing SIM cards. I guess it is detecting the SIM card as messaging is still working.
    That baffles me a bit as Messaging on the iPad would require internet access from the cellular service.
    What exactly does the iPad say in the corner next to the carrier name?  LTE?   4G?  nothing at all?  Do you get signal dots?
    I think you may be confusing a different legend with lack of 3G.  There are other types of cellular connectivity besides 3G. Its very possible its using something else. If you have internet access through Safari, and can get messages through iMessage then you have functional connectivity. Whether it be 3G or something else.

  • Thunderbird Mission Control Desktop/AutoConfig not working for some users

    I have the file: "C:\Program Files (x86)\Mozilla Thunderbird\defaults\pref\custom.js"
    It contains:
    pref("general.config.obscure_value", 0);
    pref("general.config.filename", "TMcustom.cfg");
    I have the file: "C:\Program Files (x86)\Mozilla Thunderbird\TMcustom.cfg"
    It contains:
    var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
    .getService(Components.interfaces.nsIPromptService);
    promptService.alert(null, "title", "testing");
    For most of my users the alert pops up fine when I start Thunderbird, but for a few it doesn't. All of the machines where setup with the same install script. If I log into one of the machines where it's not working as a different user, then it works fine, so I know the files are in the right spot. So why would it not work for specific users? Is there something in the user's Windows profile that could cause it to not work? Or are there any other suggestions?

    As it turns out this was a known bug that was corrected in the recent release of Java 7_65 and Java 8_11. Here is a link to the bug description in the database.
    Bug ID: JDK-8019274 RMI thread can no longer call out to AWT thread for webstart app

  • Genius not working with some songs

    why does genius not work with some of my songs?

    For songs which the genius can't come up with a play list it seems the artist is either too small, too new, or the metadata doesn't match. For example, I had "Cardigans - Love fool" selected and I noticed iTunes had it in my "Songs your missing". I changed it to "The Cardigans - Lovefool", and then selected "Update Genius". After this iTunes removed it from the "Songs your missing", and was able to create a playlist.
    The problem is I don't know how many songs iTunes can't figure out. I wish I could create a smart playlist of all the songs which the genius couldn't figure out. The problem isn't so much that I can't get a playlist from a song I selected, but I know if the genius skips a song, then it won't include it with other recommendations. While the genius feature is great, I'd hate to find out in six months that it's been ignoring 75% of my library.
    In order to get some of my indy music to play with the genius playlist, I create a smart playlist which includes a genius playlist, and then a list of artists which it can also choose from.
    While it's great that the genius can figure out information from the cloud, it could spend more time looking at patterns within your own library. If I create a playlist of New Jersey rock bands, it should be able to figure out that my indy artists are related to the mainstream artists in the same playlist.
    The good thing about the Genius is it understands that people listen to multiple genres. I like to listen to classical when I'm studying, and folk music when I'm surfing the web. Last.fm will create a recommended playlist of half classical and half folk. The genius doesn't look at your whole library and come up with something that tries to match all your tastes. As a result of it using genres to cluster music, it doesn't mix holiday music in with your playlists like other recommendation services do.

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • I have 10.7.3 lion on my computers an iMac and a macbook pro plus a new iPod touch, and two older touches, now trying to sync my calendars is not working deletes some events, duplicates others, I want all my calendars to be the same.  Any ideas

    I have 10.7.3 lion on my computers an iMac and a macbook pro plus a new iPod touch, and two older touches, now trying to sync my calendars is not working deletes some events, duplicates others, I want all my calendars to be the same.  Any ideas

    Have you tried resetting the SMC ?     >  Resetting the System Management Controller (SMC)

  • Cant restore iphone 3g 4.2.1 it would load half way threw then say unknown error why it is not working?

    cant restore iphone it would loa half way threw then say unknown error why is it not working and its a iphone 3g 4.2.1

    What is the exact error message you're getting?

  • Why would you allow firefox to update computer web-browsers if you have an idea that it will no longer work after the update? And why would you not include instructions for, how to fix the problem? Help Please! Can I go back to the old one?

    Why would you allow firefox to update computer web-browsers if you have an idea that it will no longer work after the update? And why would you not include instructions for, how to fix the problem? Help Please! Can I go back to the old one?
    Ron Bell
    [email protected]

    Mozilla, like many other software companies, thoroughly test their software before releasing it to the public and I'm sure that no problem you are having is intentional.
    I do not work for Mozilla but I do have experience of releasing software for public usage.
    Firefox has no way of knowing what other software is already on your computer and with millions of combinations it isn't always possible to test for every scenario.
    You can go back to the old version of Firefox but that won't always solve your problem.
    The web site below tells you how:
    https://support.mozilla.com/en-US/kb/Installing%20a%20previous%20version%20of%20Firefox

  • I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I

    I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I have tried all suggestions in this thread and nothing works. I also hooked up to laptop through iTunes with micro USB nothing!!!

    The new appletv software came out 2 or 3 days ago, how would Apple get it on the device in the box in a store?
    Why don't ou update the appletv software?

  • Why do the "SHOW THE PREVIOUS PAGE arrows not work on some websites such as when I try to return to the previous page the arrows at the top right of the page are not dark black they are light grey and do nothing---HELPPPP

    why do the "SHOW THE PREVIOUS PAGE arrows not work on some websites such when I try yto return to a previous page the arrows at the top right of the page do not work instead they are light grey instead black and do nothing---this is frustrating to not be able to return to the page before--HELP

    If a page you go to opens in a new tab, there is no 'back' to go to. If that is the case, just close the tab and you'll be at the page you came from.

  • I'm unable to update Firefox. operation can't be completed because you don't have permission to access some of the items. I own the computer, why would I not have permission? This has happened other times and I don't know what it means.

    I just wanted to update firefox and it won't let me. I drag the icon into applications, then a window ask me if I want to replace older version. I click yes and the window mentioned above appears. I purchased this computer new, I'm the only owner. Why would I not give myself permission to do something on my own computer.

    If you get an error message that you do not have sufficient permissions or have problems with updating then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

Maybe you are looking for