AS3.0 socket script doesn't work with flex coldfusion local server

I am having a real problem using my script in flex coldfusion
project. I tried everything I can to get an answer including
posting a question in two groups with no success.
I created a class that goes and connect through a socket
connection and it works fine under “basic” flex
project, however when I try to use the package in a flex coldfusion
project I keep getting error messages:
*** Security Sandbox Violation ***
Connection to domainName.com:60 halted - not permitted from
http://localhost:8500/ProjectName/bin/fileName.swf
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048:
Security sandbox violation:
http://localhost:8500/ProjectName/bin/fileName.swf
cannot load data from domainName.com:60. At
com.elad.as3.socket::socketConnect$iinit()[C:\CFusionMX7\wwwroot\ProjectName\com\elad\as3 \socket\socketConnect.as:14]
It looks to me that because there are two URL
http://localhost:8500/ProjectName/bin/fileName.
and
C:\CFusionMX7\wwwroot\ProjectName\com\elad\as3\socket\socketConnect.as
The player set the security in full effect and I cannot
access other servers. I tried everything including setting the
security and adding my local server to the approved servers.
This is a real problem because I will not be able to test my
application locally.
Thanks in advance for the help,

does anyone have any idea what could be going on here?  am i completely out to lunch?

Similar Messages

  • Reboot script doesn't work with BOOTCD

    Hi,
    We do Image our Workstations with the BOOTCD which works fine. At the End,
    there's a reboot command.
    All worked out, we had to do some changes in the Scripts after upgrading to
    ZEN7, but now the Reboot doesn't work anymore, the Workstation just waits
    and needs to be reset by hand - we tried reboot, shutdown, init 6 - nothing
    worked so far.
    The usual reboot script seems not to work - Anybody got an idea how to
    reset the workstation after imaging automatically?
    Thanks

    Any luck with this? We seem to have run into a similar problem. After
    finishing with an image and coming back to the bash prompt, I type
    "shutdown -h now" When doing so, I get the error "Can't execute command in
    bin/init". If I type "shutdown", it recognizes it as a command and gives
    me the switches I should use. I get this error with any of the switches.
    Thanks in advance.
    > Automatic Reply wrote:
    > > TboRElligerM,
    > >
    > > It appears that in the past few days you have not received a response
    to your posting. That concerns us, and has triggered this automated reply.
    > >
    > > Has your problem been resolved? If not, you might try one of the
    following options:
    > >
    > > - Do a search of our knowledgebase at
    http://support.novell.com/search/kb_index.jsp
    > > - Check all of the other support tools and options available at
    http://support.novell.com in both the "free product support" and "paid
    product support" drop down boxes.
    > > - You could also try posting your message again. Make sure it is posted
    in the correct newsgroup. (http://support.novell.com/forums)
    > >
    > > If this is a reply to a duplicate posting, please ignore and accept our
    apologies and rest assured we will issue a stern reprimand to our posting bot.
    > >
    > > Good luck!
    > >
    > > Your Novell Product Support Forums Team
    > > http://support.novell.com/forums/
    > >
    >
    > try reboot -f

  • User scripting doesn't work with NWBC

    I  connect SAP Server through NWBC client.
    I can see the embedded SAPGUI in it (7.20 patch 6)
    When run Hit Test from embedded SAPGUI - it recognize the hit elements.
    When record through Script Recording & Playback - it succeed.
    But when try play the recorded script - I get a failure >>  GetObject("SAPGUI") fail.
    I've noticed that there's no saplogon.exe process,that is responsible for the SAPGUI running object registration.
    When try to connect directly from saplogon - it works fine !!!
    I assume that I need to connect the NWBC's embedded SAPGUI in a different way - can someone help with this issue ?
    Best Regards,
    Assaf

    Dear J-Philippe,
    I'm just getting started with SAP GUI Scripting through the COM interface and I seem to be running into the same issue.
    You seem to be referring to a work-around mentioned in the README (#4). I don't know where the README is located, could you (or somebody else) please post the work-around or the README or location thereof?
    By the way, here's the code I'm running (it's Python):
    import win32com.client
    wrapper = win32com.client.Dispatch("SapROTWr.SapROTWrapper")
    sap_gui = wrapper.GetROTEntry("SAPGUI")
    application = sap_gui.GetScriptingEngine
    connection = application.FindById("con[0]") # returns /app/con[0]
    session = connection.FindById("ses[0]") # throws exception
    The last statement fails with an exception "The control could not be found by id".
    When I use connection.Children(0) instead I get the exception "The enumerator of the collection cannot find an element with the specified index"
    Same results when using SapGui.ScriptingCtrl.1.
    Thanks!
    Edited by: brucevdk on Jan 31, 2011 7:51 PM
    I found the mentioned SAP note 1526624 somewhere (I don't yet have access to the official resource) and it made me think that perhaps I'm not dealing with the same issue. I'm also not sure what CreateObject is and if it's similar to the Dispatch functionality above (I'm just getting started with COM Programming). I'll play around with the recorder at work tomorrow to see if scripting works at all.

  • ARD Login script doesn't work with similar usernames

    We have a lab of Macs all of which have two accounts whose usernames start with the same characters (rms and rmsadmin). There are times when we would like to be able to log on to all the computers simultaneously as the rmsadmin user with ARD. Because both of the usernames start with the same three characters, when the following commands are sent via ARD, the login process defaults to selecting the student account (rms) and won't log in as rmsadmin:
    osascript -e 'tell application "System Events" to keystroke "rmsadmin"'; \
    osascript -e 'tell application "System Events" to keystroke return'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke "password"'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke return'
    Anyone have a solution to this?
    Thanks in advance for taking the time to read this and giving it some thought.
    Peggy
    Xserve PowerPC G4, MacBook Pro, PowerBook, etc.   Mac OS X (10.4.8)  

    Since we do have the same problem but also some additional infos I bump this thread in the hopes of getting some answers.
    The login script does run, but unfortunatly only when I start it manually. It does not run during login.
    The only purpose of the script is to map some drives and it works fine under XP. Where else can I find infos about the problem?
    Our script looks like that:
    On Error resume next  
    Set objADSystemInfo = CreateObject("ADSystemInfo")  
    Set objUser = GetObject("LDAP://" & objADSystemInfo.UserName)  
    strDn = objUser.Get("distinguishedName")  
    strSam = objUser.Get("sAMAccountName")  
    strCn = objUser.Get("cn")
    Set colGroups = objUser.Groups  
    Pos = Instr(strDn,"OU=")  
    if Pos = 0 then  
        strOu = "" 
    else  
        strOu = Mid(strDn,Pos+3,2)  
    end if  
    Set objNetwork = CreateObject("WScript.Network")   
    objNetwork.MapNetworkDrive "h:", "\\frodo\user\" & strSam  
    objNetwork.MapNetworkDrive "j:", "\\frodo\misc" 
    objNetwork.MapNetworkDrive "l:", "\\frodo\department" 
    objNetwork.MapNetworkDrive "q:", "\\frodo\projects" 
    objNetwork.MapNetworkDrive "k:", "\\frodo\department\" & strOu  
    if strOu = "IT" then  
        objNetwork.MapNetworkDrive "x:", "\\frodo\software" 
    end if  
    'WScript.Echo strOut  
    For Each objGroup in colGroups  
        if objGroup.CN = "DreCash" then  
        objNetwork.MapNetworkDrive "p:", "\\gollum\drehcash" 
        end if  
    Next 
    objNetwork.MapNetworkDrive "i:", "\\192.168.1.6\shares" 

  • Why the jsp tag jsp:forward page="page.jsp" / works when i work with web server iPlanet in a Solaris machine and doesn't work with the same web server, in a Windows 2000 machine ?

    The request parameters don't go to the "page.jsp"...

    If someone else runs into this, here is how I solved the problem -
              If you create a PrintWriter object with the autoflush option, it
              doesn't flush the underlying buffer till you call println on it. I
              looked through the generated code for the servlet, and it was doing a
              JSPWriter.print() to output information.
              So, I changed the ResponseWrapper to keep a handle to the PrintWriter
              object, and then flush it in the filter, and that works.
              Why the same code behaves differently in JRun & Weblogic, I'm not sure
              --Sridhar
              

  • [svn:osmf:] 13494: Update build script to work with Flex 4 SDK.

    Revision: 13494
    Revision: 13494
    Author:   [email protected]
    Date:     2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010)
    Log Message:
    Update build script to work with Flex 4 SDK.
    Modified Paths:
        osmf/branches/flex4/build/build.xml

    No, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
    ./mxmlc MyFlexApp.mxml
    If you are building an AIR application, you will use amxmlc
    ./amxmlc MyAIRFlexApp.mxml
    Then, launch your AIR application using adl
    ./adl.exe MyAIRFlexApp-app.xml
    Hope this helps,
    Joan

  • Mail.app redirect script doesn't work

    I'm trying to script a batch process to redirect selected messages in the Mail application. I found a nifty script on macosxhints.com--only one problem: it doesn't work with 10.4's Mail.
    The script fails ("variable is undefined") when trying to get the result of:
    redirect message with opening window
    According the the Mail dictionary, redirect should return an "outgoing message". Instead it appears to be undefined, and I can't figure out how to manipulate the newly created message to change the recipient, sender, etc.
    Any ideas?
    G5   Mac OS X (10.4.5)  

    has anyone gotten this script to work with 10.4.6?
      Mac OS X (10.4.6)  

  • Iphone 5 doesn't work with philips DS9000 dock station

    The dock station Philips DS9000 doesn't work with the Iphone 5. I have tried several lightening adaptator but the problem is the same. Anyone have the same ??

    I have the SoundDock 10 and generally use the Bluetooth connection.
    I have just reinserted the 30 pin normal socket ( as in normal SoundDock)
    the Apple 30 pin to lightning adapter and with iPhone 5 have perfect
    sound
    It works so something in your set up is faulty possibly the adapter
    some have posted issues

  • JSDOC framework doesn't work with JSX

    Hil all,
    I'm new in the developpement of indesign javascript … I'm looking for a way to generate javascript documentation.
    I often use JSDOC to generate my doc but it doesn't work with JSX.
    Has someone a good tool who support JSX tag like #include?
    In advance, thanks you for your help

    You could try http://stdbrouw.github.io/Extendables/
    It's a framework for Indesign scripting that includes jsdoc (https://github.com/stdbrouw/Extendables/blob/master/doc/jsdoc.conf)
    John

  • New Thunar doesn't work with Launchy, Chromium

    After installing the new XFCE 4.8, the new Thunar now doesn't work with Launchy, or Chromium. I haven't tried any other GUI programs that launch the file manager (Gnome-Do, Docks etc), but the only way to launchy Thunar now is via the XFCE Panel, or the desktop (via XFCE programs themselves, in essence).
    I've tested this, and opening a normal folder or file with Launchy means nothing happens. I'm guessing that Launchy is using Thunar here to launch the folder/file, and it's not working. For some reason though, I can launch in /usr/bin, which I'm guessing might be because Launchy doesn't use Thunar for that (only guesses though)? Meanwhile, Chromium downloads can't be opened, and the directory that contains the download can't be opened either. When I click the button that launches the download, or opens the directory containing the download, nothing happens.
    I have tried reinstalling Launchy and Thunar, to no avail. I haven't tried downgrading Thunar, but that's a process I'd rather not go through.
    Last edited by louis058 (2011-01-22 21:22:50)

    Hi!
    I don't know Launchy, but Chromium use xdg-open script for figure out which DE (Desktop Environment) is running and then, launch the properly file manager. With the new version of XFCE, this script doesn't detect XFCE and consider a generic DE. There are many solutions, but I just modified the xdg-open script (/usr/bin/xdg-open) and replaced the line:
    elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
    by a more logical line:
    elif [ "$DESKTOP_SESSION" = "xfce" ]; then DE=xfce;
    . It isn't the best solution because will be a new update for xdg scripts, I guess.
    For Launchy, you can launch it in a terminal and see if say some kind of error, like Chromium did.
    Cheers!
    Last edited by Versuchen (2011-01-30 16:43:25)

  • Keyconfig doesn't work with FF 24.0. Is there a way?

    I have just completed rebuilding my PC from a hard disk format. In doing so, I loaded the latest FF 24.0.
    Part of my essential application was a script that used keyconfig to cause Easy Copy to send page source to the clipboard, where the script parses it. Unfortunately, keyconfig does not work with FF 24.0.
    The write-up for Easy Copy starts to explain how to make it act on a key combination, rather than on mouse action without using keycopy - but then says how it doesn't need to, because it's too much effort, and besides - keyconfig exists and does the job - which, I agree, it used to, very well - but it doesn't any more.
    What to do? If there is no other way, can I get a downgrade of FF that works with keyconfig?
    There is a new add-on, key config (note the space), but it doesn't do what keyconfig did.

    Hmmm...
    The first time I loaded it was through the FireFox Add-ons tool, so that was the natural mechanism to use to do it again. Even now, it is listed on the tool - but a notice comes up saying that it doesn't work with FF 24.0. Before getting help from you, I was on the point of downgrading FireFox to be able to use the add-on with an older version.
    Another solution to my problem (possibly a better one) would be if the writer of Easy Copy would give instructions for making a key combination to cause his add-on to respond to the keyboard without the intervention of keyconfig - hence only one add-on would be needed instead of two. He has made hotkeys for two of his functions - to copy the URL to scratchpad, for example, but there is no hotkey to copy the page source. I was going to suggest it on his web site, but it doesn't accept input.

  • I'm looking for the old toolbar that doesn't double post the web adress and only has single line entries and the extension xpi doesn't work with my new computer

    I'm looking for the old toolbar that doesn't double post the web adress and only has single line entries and the extension xpi doesn't work with my new computer

    Mike wrote:
    > Could someone tell me why this prototype-based lightbox
    seems to work on one
    > of my sites but not on the other?
    >
    > I literally took the exact same .js & css files,
    copied them over from one
    > site to the other, but it's only partially working on
    the new site.
    >
    > Works :
    >
    http://www.roxanacampagiorni.com/
    >
    > Doesn't work :
    >
    http://www.vilverset.com/sample.html
    >
    > Been troubleshooting this one for days, and I'm stumped.
    Script wants
    > nothing to do with lightboxing HTML files on the new
    site. Only straight
    > JPGs. But it was written to work with them, and it
    *does* work with them
    > just fine on the *other* site.
    >
    > Where is the anomaly between the two sites that's
    causing it to break in
    > sample.html?
    >
    >
    Not sure if this is relevant but on the page that works you
    have these
    js files linked - 4.....
    <script type="text/javascript"
    src="/scripts/jscripts.js"></script>
    <script type="text/javascript"
    src="/scripts/prototype.js"></script>
    <script type="text/javascript"
    src="/scripts/effects.js"></script>
    <script type="text/javascript"
    src="/scripts/control.modal.2.2.3.js"></script>
    and on the page that doesn't - 3......
    <script type="text/javascript"
    src="/scripts/prototype.js"></script>
    <script type="text/javascript"
    src="/scripts/effects.js"></script>
    <script type="text/javascript"
    src="/scripts/control.modal.2.2.3.js"></script>
    HTT
    chin chin
    Sinclair

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

Maybe you are looking for