Spry and Permission denied to call method XMLHttpRequest.open

hi all,
I'm using Spry to call an RSS feed and display on a webpage.
I'm running this locally on my computer for testing measures and it
works fine in IE but i'm getting a message saying "Permission
denied to call method XMLHttpRequest.open" when using FF.
I googled around a bit and found that it has to do something
with FF's cross domain security, but nothing much more than that. I
was just wondering if anyone would be able to point me to a good
resource that explains the issue more and how to fix it, keeping it
in mind that i want to fix it using Dreamweaver's Spry
options.

5h4k42u1u wrote:
> if i'd use the spry tables with an RSS feed, it'll work
with IE but not with
> FF, but then when i try it with a local XML file, it'll
work with FF but not
> IE? In fact, why does it have trouble at all with the
local file, there should
> be no cross domains to worry about, right?
You're right that there should be no problem with a local
file, but
without seeing the XML file and your code, it's impossible to
say what's
causing the problem. I think your best bet is to post a more
detailed
question in the Spry forum.
http://www.adobe.com/go/labs_spry_pr1_forum
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Remote XML causes Exception Permission denied to call method XMLHttpRequest.open

    Im using google page creator to host my domain, they don't
    allow javascript or xml files (the correct mime type/content type
    isnt presented so the browser just downloads the file). They do
    however support html. I have uploaded the main html page to their
    and the javascript files and xml files to my isp that allow .js
    & .xml. However, when I call it I get a nice exception.
    Exception caught while loading
    http://www.logics.eclipse.co.uk/portfolio.xml:
    Permission denied to call method XMLHttpRequest.open.
    Any ideas how to get this working - full source to test is at
    http://www.logics.co.uk/test.html
    Cheers
    Chris
    Full source:
    <script type="text/javascript" src="
    http://www.logics.eclipse.co.uk/xpath.js"></script>
    <script type="text/javascript" src="
    http://www.logics.eclipse.co.uk/SpryData.js"></script>
    <script type="text/javascript">
    var dsCategories = new Spry.Data.XMLDataSet("
    http://www.logics.eclipse.co.uk/portfolio.xml",
    "portfolios/portfolio/site", { distinctOnLoad: true, sortOnLoad:
    "site" });
    var dsPortfolio = new Spry.Data.XMLDataSet("
    http://www.logics.eclipse.co.uk/portfolio.xml",
    "portfolios/portfolio");
    </script>
    <div spry:region="dsCategories dsPortfolio"
    class="SpryHiddenRegion">
    <div spry:repeat="dsCategories">
    <div>{dsCategories::site}</div>
    <div spry:repeat="dsPortfolio"
    spry:test="'{dsCategories::site}' == '{dsPortfolio::site}'"
    spry:setrow="dsPortfolio"><a href="{dsPortfolio::screenshot}"
    target="_blank"><img src="{dsPortfolio::thumbnail}"
    style="border: none;" alt=""/></a></div>
    </div>
    </div>

    I'm getting really frustrated by the inability to pull files
    from another domain. I downloaded DW and am testing with Spry to
    pull property info from a remote site which has dynamic xml files.
    It seems incredibly silly to allow http requests to load data if
    you can't do it across domains. I just don't see the point. I just
    checked your test url fingersuk and I see you stil don't have a
    fix.
    It seems pointless to me that you need to set up a CF or PHP
    script to pull the remote files to your local server as a proxy!
    Surely that defeats the purpose of the whole Spry http request
    idea. It's creating more work instead of saving it. Maybe I'm
    missing something, it's late and I'm tired and frustrated!
    Is it possible to use a domain policy XML file or something
    with Spry to include an IP in a sites 'trusted realm'?
    btw, the link posted by ajpowellatl is dead,
    cheers,
    Mike

  • Permission Denied when calling a method from VB using WebLogic 8.1.2 JCOM

    Hi,
    We are calling an java/ejb methods from VB using WebLogic JCOM 8.1 SP2. But
    using JCOM, we are getting a error Permission denied when called from VB. We think
    that we should update pathch jintegra 2.0 or 2.1 in WebLogic 8.1.2 the to solve
    this issue, because we faced the same problen "permission denied" when we used
    JINTEGRA(third party software). Once we installed the JINTEGRA 2.1 it solved the
    issue.
    So, can anyone help on regard to this issue of "Permission denied" in WebLogic
    JCOM 8.1 SP2.
    Thanks & Regards
    Raghu

    I too am experiencing the jCOM error: "Run-time error '70': Permission Denied". The problem appears to be related to a Microsoft Security Patch KB835732 (MS04-011 which, as you indicated, has been fixed in J-Integra v2.1 (FYI, jCOM 8.1 is based on J-Integra 1.5.4, see J-Integra/jCOM versions.
    Did you ever get a resolution concerning 8.1 SP2? 8.1 SP3 is available now but I don't see any mention of jCOM updates in the WebLogic 8.1 What's New documention. I can't immediately upgrade (trying to stay on same version as a few other developers I work with) but I am hoping it is resolved in SP3.

  • Setuid program and permission denied

    We have a wrapper written in C++ that handles our code promotion. It is setuid (u+s) so that any developer can move files to directory owned by our repository owner. This program calls another script that invokes a make. Within this make is a shell macro that invokes which. In Solaris 9 this all works fine. In Solaris 10 it dies with "csh: Permission denied", which is caused by the which. Is Solaris 10 behaving differently? Here is a sample that mimics what we do:
    #include <sys/wait.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <unistd.h>
    #include <string.h>
    #include <sys/statvfs.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    #include <dirent.h>
    #include <setjmp.h>
    #include <stdio.h>
    #include <sys/param.h>
    //#define MAXPATHLEN 200
    int main(
    char lib_so_src[MAXPATHLEN] ;
    char lib_so_lib[MAXPATHLEN] ;
    (void)sprintf( lib_so_src, "/mbs/prg/blue10/ref/cvt/a100/test.so.7" ) ;
    (void)sprintf( lib_so_lib, "/mbs/prg/blue10/ref/lib/test.so.7" ) ;
    setuid(1000);
    execlp( "/staff/rstacey/bin/compile", "/staff/rstacey/bin/compile", "", NULL );
    where compile is:
    cd /mbs/prg/blue10/ref/cvt/a100
    echo here
    which sbpkg

    I suspect you will find that someone has set your "which" script to SUID (if, indeed, this error is originating with that command).
    Solaris 10 no longer permits SUID shell scripts. I can't recall off the top of my head how to revert to the old (insecure) behavior and a brief web search didn't yield anything...
    But from your description it should be unnecessary because your initial wrapper has already raised your UID to root's.
    You might want to look into the process privileges (ppriv) to make this whole setup even more secure.

  • Permission denied in calling ssh file from job

    hello
    i tried to create program and a job to execute ssh file using sql i am using oracle 10g R2
    as following :
    begin
    DBMS_SCHEDULER.create_program (
       program_name => 'START_SCRIPT_INVOIC',
       program_type => 'EXECUTABLE',
       program_action => 'root/[email protected]:/home/admin/services/fd_listener/INVOICStart.sh',
       number_of_arguments => 0,
       enabled => TRUE,
       comments => 'COMMENTS ABOUT THE SCRIPT ROLE');
    dbms_scheduler.create_job 
      (job_name => 'START_SERVICE_INVOIC', 
       program_name=> 'START_SCRIPT_INVOIC', 
       enabled=>true, 
       auto_drop=>false, 
       comments=>'Job used to run the program START_SCRIPT');
    end;
    then i tried to start to exec the job as follow
    BEGIN
    dbms_scheduler.RUN_JOB('START_SERVICE_INVOIC');
    END;
    and give me this error :
    >[Error] Script lines: 1-4 --------------------------
    ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 2 
    please help me i need to execute  this urgently 

    user11114041 wrote:
    hello
    i tried to create program and a job to execute ssh file using sql i am using oracle 10g R2
    as following :
    begin
    DBMS_SCHEDULER.create_program (
       program_name => 'START_SCRIPT_INVOIC',
       program_type => 'EXECUTABLE',
       program_action => 'root/[email protected]:/home/admin/services/fd_listener/INVOICStart.sh',
       number_of_arguments => 0,
       enabled => TRUE,
       comments => 'COMMENTS ABOUT THE SCRIPT ROLE');
    dbms_scheduler.create_job 
      (job_name => 'START_SERVICE_INVOIC', 
       program_name=> 'START_SCRIPT_INVOIC', 
       enabled=>true, 
       auto_drop=>false, 
       comments=>'Job used to run the program START_SCRIPT');
    end;
    then i tried to start to exec the job as follow
    BEGIN
    dbms_scheduler.RUN_JOB('START_SERVICE_INVOIC');
    END;
    and give me this error :
    >[Error] Script lines: 1-4 --------------------------
    ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 2 
    please help me i need to execute  this urgently
    This is a forum of volunteers.  There is no "urgent" here.

  • PF Status and User Command in CALL METHOD alv_grid_ob- set_table_for_first_

    Hi Can anyone please advice me how can we have PF Status in User Command in Object Oriented ALV Grid Display.
    * display alv grid
      CALL METHOD alv_grid_ob->set_table_for_first_display
        EXPORTING
    *    IS_VARIANT                    =
    *    I_SAVE                        =
          i_default                     = 'X'
          is_layout                     = t_lay
    *    IT_TOOLBAR_EXCLUDING          =
        CHANGING
          it_outtab                     =
          it_fieldcatalog               = t_field_catalog
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    Hi,
    you can directly handle that in PBO module of the screen....
    you can give a direct
    set PF-status statement in any of the module in PBO...
    and you can handle in PAI
    Regards,
    Siddarth

  • "Permission denied" error when trying to open Time Machine sparse backup image

    Hello,
    After a hard drive failiure, I'm trying to access my Time Machine backup from a different computer, but when double-clicking on the sparsebackup file I get the following error:
    The Time Machine backup was done wirelessly, to a hard drive plugged in via USB to an AirPort Extreme router. I've now connected the hard drive (via FireWire) to my backup computer.
    I suppose I could plug the drive back into the router and see if that works, but restoring via WiFi will take FOREVER — the sparsebundle is 750 GB.
    I've tried repairing permissions and rebooting, but that did not solve the problem.
    Any ideas?

    I think you will need to connect to the USB attached to the airport..
    But you can use ethernet not wireless.
    If you are using a Mac without an ethernet port then get a thunderbolt to ethernet or if no thunderbolt, then usb to ethernet adapter.. that is the second best by a long way.
    I have always been able to open the sparsebundle on disks .. So unfortunately the sparsebundle could be corrupt.. you can try to repair it.
    http://pondini.org/TM/A5.html
    Permissions problems.
    http://pondini.org/TM/E10.html

  • Xmlhttprequest.open problem using spry

    Hello
    I am having problems displaying xml data that is stored on a
    different server. Everything works fine on developing stage but as
    i test it i get an error telling me :
    Exception caught while loading
    http://www.somesite.com/some.xml:
    Permission denied to call method XMLHttpRequest.open
    I searched the internet for the solution and found only that
    the problem seems to be in the browser security level.
    Could someone advise me on this,
    Thanks

    Hi,
    Add the spry:if to the tr row tag where you have the repeating rows
    <tr spry:repeat="dsSpecials" spry:if="....">
    Structure of table tags looks fine
    Regards
    Phil

  • Navigate / Ajax / Permission Denied

    Greetings ...
    I am attempting to get an Ajax control working with
    Coldfusion.Navigate (see code below ) . I simply want to enter in
    data in a form, submit the form and have the output of the form
    submission in an Ajax control. I am getting a "Permission denied to
    call method XMLHttpRequest.open". I understand that this happens if
    you try to make an Ajax connection to a site that is not in your
    domain ... but this connection *is* in my domain ... so I don't
    understand what the problem is.
    I have a 3 tiered system - cold fusion is tier 2 - I hope
    that does not matter...
    -thank you for your assistance
    ------------------------------------------------------------------

    are you sure use can use js in form's ACTION attribute?
    use Coldfusion.navigate() function instead in, for example, a
    button's
    onClick event... you can also use
    ColdFusion.Ajax.submitForm() to submit
    the form asynchronously, whithout removing the form from the
    view...
    not sure though if any of this is related to your particular
    error...
    but this might:
    - is your form on a secure page? you need to make all ajax
    calls to urls
    to use full https://.... URIs.
    - are you viewing your form page through your http server or
    just by
    opening it as a file in your browser? you must use http
    server to open
    the url - ajax calls will not work if a page is opened as a
    file.
    - also make sure you are not accessing the page through
    http://127.0.0.1/... while the
    website is configured to use
    http://localhost/... - the 2 url
    will be considered by ajax to be 2
    different namespaces and it will fail.
    in general, though you are probably aware of this, if you use
    CFFORM
    inside an cf layout element (like cfdiv or cfwindow), it will
    submit to
    and show results in that element, while if you use a regular
    FORM, it
    will reload the whole page.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • Decimals on CALL METHOD cl_alv_table_create= create_dynamic_table

    Hello experts:
    I have a little problem, I want to create an ALV field with 4 decimales, it's a dinamic table, but when the alv report shows the fields it shows only 2 decimals, here the main code for explaining me better:
    Here the code for create the field with decimals:
    * Netpr
      lv_cols = lv_cols + 1.
      MOVE lv_cols TO wa_it_fldcat-col_pos.
      MOVE 'NETPR'      TO wa_it_fldcat-fieldname.
      MOVE 'Net Price'  TO wa_it_fldcat-scrtext_l.
      MOVE 'Net Price'  TO wa_it_fldcat-scrtext_m.
      MOVE 'Net Pr'     TO wa_it_fldcat-scrtext_s.
      MOVE 'CURR'       TO wa_it_fldcat-datatype.
      MOVE 'P'          TO wa_it_fldcat-inttype.
      MOVE 11           TO wa_it_fldcat-intlen.
      MOVE 4            TO wa_it_fldcat-decimals.
      MOVE ''           TO wa_it_fldcat-ref_field.
      MOVE ''           TO wa_it_fldcat-ref_table.
      APPEND wa_it_fldcat TO t_fldcat.
    After create more fields, here the code for create the dinamic ALV table:
    * Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = t_fldcat
        IMPORTING
          ep_table        = t_newtable.
      ASSIGN t_newtable->* TO <t_dyntable>.
    * Create dynamic work area and assign to FS
      CREATE DATA t_newline  LIKE LINE OF <t_dyntable>.
      ASSIGN t_newline->* TO <fs_dyntable>.
    After this method, the structure of the work area having the data type of the fields and all the atributes, the decimals of the NETPR fields just have 2 decimals =(
    I hope my explanation it's clear.
    Any help with this issue it's very welcome, thank you very much for your time.
    Miriam

    Hi
    Xiaonan Hu is right: u need to delete the row where u transfer CURR as type:
    * Netpr
      lv_cols = lv_cols + 1.
      MOVE lv_cols TO wa_it_fldcat-col_pos.
      MOVE 'NETPR'      TO wa_it_fldcat-fieldname.
      MOVE 'Net Price'  TO wa_it_fldcat-scrtext_l.
      MOVE 'Net Price'  TO wa_it_fldcat-scrtext_m.
      MOVE 'Net Pr'     TO wa_it_fldcat-scrtext_s.
      *MOVE 'CURR'       TO wa_it_fldcat-datatype.
      MOVE 'P'          TO wa_it_fldcat-inttype.
      MOVE 11           TO wa_it_fldcat-intlen.
      MOVE 4            TO wa_it_fldcat-decimals.
      MOVE ''           TO wa_it_fldcat-ref_field.
      MOVE ''           TO wa_it_fldcat-ref_table.
      APPEND wa_it_fldcat TO t_fldcat.
    If you transfer CURR, the method will defined a type p with 2 decimals by default, so it's useless to indicate the decimals in this case.
    Infact the method calls the fm ALV_TABLE_CREATE, and here the abap code is:
    - for CURR type:
    elseif ls_fieldcat-datatype = 'CURR'.
            concatenate 'DATA:'
                        ls_fieldcat-fieldname
                        'TYPE'
                        ls_fieldcat-inttype
                        'DECIMALS 2.'
                        into lt_source-line separated by space.
    - for P type
    if ls_fieldcat-inttype = 'P' and not ls_fieldcat-decimals is
               initial.
              replace '.' with 'DECIMALS' into lt_source-line.
              concatenate lt_source-line ls_fieldcat-decimals '.' into
                          lt_source-line separated by space.
            endif.
    Max

  • Java.util.concurrent.Callable synchronized call method

    Hi all,
    I'm currently developing an algorithm that uses Callable Interface. I'd like to know when should I use synchronized in the Call() method signature.
    My scene is the following:
    Class Test invoke Task Class.
    The Task Class contains the following code:
                      ExecutorService execServ
                           =Executors.newCachedThreadPool();
                      CallableWorkerThread workers[]
                          =new CallableWorkerThread[numWorkers];
                      Future futures[]
                          =new Future[numWorkers];
                      for (int i = 0; i < numWorkers; i++) {
                           workers[i] = new CallableWorkerThread();
                             futures[i] = execServ.submit(workers);
    The CallableWorkerThread class implements Callable and overwrite it's Call() method.
    My doubt is about the following:
    Should I use this:
    public synchronized Object call() throws Exception {
            // Code to execute........
    }OR
    public Object call() throws Exception {
            // Code to execute........
    }Tks.

    Hi David, I thank you for your answer.
    My class CallableWorkerThread implements Callable Interface because I'm using submit method() from ExecutorService.
    In other words, when I use the instructionexecServ.submit(workers); the object workers must be a collection of Callable Objects.
    This is my Test_CallableWorkerThread:
    public class Test_CallableWorkerThread  {
    ExecutorService      execServ  = Executors.newCachedThreadPool();
    CallableWorkerThread      workers[] = new CallableWorkerThread[10];
    Future                futures[] = new Future[10];
    for (int i = 0; i < 10; i++) {
         workers[i] = new CallableWorkerThread();
         futures[i] = execServ.submit(workers);
    This is my CallableWorkerThread:
    public class CallableWorkerThread implements Callable {
         private Collection<MyObject> collectionOfMyObjects = null;
         private String threadName                   = null;
         private Connection conn                       = null;
         CallableWorkerThread(Collection<MyObject> collectionOfMyObjects, String threadName, Connection conn) {
                  this.collectionOfMyObjects = collectionOfMyObjects;
                  this.threadName = threadName;
                  this.conn = conn;
         public Object call() throws Exception {
              for (Iterator iter = collectionOfMyObjects.iterator(); iter.hasNext();) {
                   MyObject element = (MyObject) iter.next();
                   System.out.println(this.threadName + " is working with " + element.getName());
                   try {Thread.sleep((int)(Math.random() * 1000));
                   } catch (InterruptedException e) {}
                 return(threadName);
    }According to the code above, I'm using CachedThreadPool. I read the documentation about this and this method creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available.
    It's work fine, but until now I didn't undestand what is the real difference between using method with synchronized and without.
    Thanks for the help!

  • I get an error message when I try to revise items I am selling on ebay. eBay says it is my computer. This is the error message as follows lscgid: execve():/home/wwocom/public_html/style.cgi: Permission denied..What can I do

    I get an erro message when I try to revise my items while selling on ebay.
    The error message is as follows: lscgid: execve():/home/wwocom/public_html/style.cgi: Permission denied
    I called ebay they say it is my computer.
    What do I do to clear this message so I can sell on eBay?

    That's a server message : ebay's computers, rather than yours.
    You could try clearing cache & cookies for ebay in your browser : eg. Safari - Preferences - Privacy
    & if you still have problems, restart your modem/router.
    You're sure that the message shows at a genuine ebay site ? : see the recent replies at
    http://community.ebay.com/t5/Trust-Safety-Safe-Harbor/Fake-eBay-Sign-In/td-p/185 55847/page/2

  • Do I have to implement "Call" method of SOAPConnection object?

    I was trying the example "saaj-simple" that comes with "jwsdp".
    But it gave me NoSuchMethodError for the method "call" of "SOAPConnection" object.
    I opened the "saaj-api.jar" and found that the "call" method is abstract.
    Am I supposed to be implementing this method? I thought I should be using this method as it is.

    Yup! I already have that.
    In fact I have both the jars associated with SAAJ plus other jars related to javax.
    But still it ain't working. It gives runtime error.
    It compiled successfully.

  • Can't access/mount hard drive, Permission denied message in Disk Utility.

    Hello,
    Need some help here. I was upgrading from 10.4 to 10.5. I got an error message when I tried to upgrade from the DVD. My hard drive had an exclamation mark by it and I was told I would need to erase it in order to install. When I tried quitting the installer, I had to go through startup disk to pick my Hard drive, which showed it had 10.4 installed. When I tried restarting, it would only boot off of the DVD. I checked startup disk again, but my hard drive was now not visible. I have a tower with a back-up system on it. When I picked it, it started up fine. I went under disk utility and the hard drive is listed, but is ghosted/grayed out. Repair & Verify Disk permissions are ghosted back as well.When I try to repair or verify disk, it says it can't it gives me the disk number and sector number and Permission Denied. I poked around on disk utility for info, and it looks like it doesn't have a mount point anymore and under permissions, it says that they are not enabled. So, apparently the access privileges have been erased & I don't know how to mount my disk again. I'm assuming I need some sort of commmand line in Terminal to restore my priveleges or get it to auto-mount. I do not want to erase my drive to upgrade. All my applications are on that drive. Please help!
    Message was edited by: koobiak

    See if Niel's User Tip can help you: I accidentally set a disk's permissions to No Access .

  • Error: Permission denied for (document.domain has not been set) to call method Location.toString on (document.domain=).

    Why am I getting these errors Error: Permission denied for (document.domain has not been set) to call method Location.toString on (document.domain=).
    == URL of affected sites ==
    http://

    HOW DO YOU SET THIS??? I'M FRUSTRATED OVER THIS. ITS BEEN 2 MONTHS SINCE I HAVE BEEN ABLE TO PLAY ANY GAMES IN FACEBOOK DUE TO THIS PROBLEM! IT DOES NOT MATTER WHAT BROWSER I USE I STILL GET THIS SAME MESSAGE.

Maybe you are looking for

  • Right side of start up screen is black and graphics flicker.....help!

    For the last 2-3 months whenever I turn on my macbook (Mid 2007 white 13in model) the right 3 inches of the screen are black and the log in screen is shifted to the left 1/3 of the screen. These graphics flicker constantly. If I log in my computer st

  • Webdyn pro ABAP iview is not opening in Internet

    Hi All, I Have one webdyn pro ABAP iview it's working fine in LAN. but same iview is not working in internet. we are using https protocol in Internet and in LAN http protocol. When clicks the Iview one alert message is populating and  showing secure

  • Running different SPs in ABAP and Java Stack?

    Hi, we do have a dual stack installation of the Web Application server. We wanted to update from SP9 to SP12. Unfortunately we had problems with updating the ABAP Stack. The problems are not solved yet. At the Java side we would like to user some new

  • Moving Titles from one project to another

    I want to combine several iMovie projects into one, in order to create a single DVD via iDVD. The projects are fairly simple - no music, just video, dissolves, and some text. When I select all, and then copy and paste from one project to another, the

  • How to rename repository

    Is there a command to rename a repository?  I know I can archive/unarchive an existing repository to a new name.  However, I was wondering if there is a way to rename an existing repository.  I am currently running MDM 7.1 SP04 on a windows platform