Javascript error - 'Permission denied to call method XMLHttpRequest.open'

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Javascript error - 'Permission denied to call method XMLHttpRequest.open'

Dan Godley

Hi,

 

I was wondering whether anyone can help me on this.

 

I’ve just replaced an older 3.5M1 version of Orbeon Forms with a nightly build from 9th March. 

 

The new version runs great on my local machine, but appears to have some javascript problems when I run it on a test server.  When I try to use any of the controls on a page generated by the test server, I get the message ‘Error while processing response: undefined’ displayed at the top of the page.  I’ve looked at the console messages in Firebug, and it looks like I’m getting the javascript error ‘Permission denied to call method XMLHttpRequest.open’.

 

After a quick search on Google, I’ve realised it’s not an uncommon error message but unfortunately I’ve no idea how to fix it.

 

I get the same problem in both Firefox and IE7.  Anyone any ideas?

 

Cheers, Dan

 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error - 'Permission denied to call method XMLHttpRequest.open'

Ryan Puddephatt
Dan,
    This sounds like a security problem, do you have any special security on you server?

Ryan

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com



Dan Godley wrote:

Hi,

 

I was wondering whether anyone can help me on this.

 

I’ve just replaced an older 3.5M1 version of Orbeon Forms with a nightly build from 9th March. 

 

The new version runs great on my local machine, but appears to have some javascript problems when I run it on a test server.  When I try to use any of the controls on a page generated by the test server, I get the message ‘Error while processing response: undefined’ displayed at the top of the page.  I’ve looked at the console messages in Firebug, and it looks like I’m getting the javascript error ‘Permission denied to call method XMLHttpRequest.open’.

 

After a quick search on Google, I’ve realised it’s not an uncommon error message but unfortunately I’ve no idea how to fix it.

 

I get the same problem in both Firefox and IE7.  Anyone any ideas?

 

Cheers, Dan

 

 


-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error - 'Permission denied to call method XMLHttpRequest.open'

Steve Lenhart
In reply to this post by Dan Godley
Dan,

Do you have any links hardcoded to localhost?? This error can occur when you have cross domain AJAX requests ... i.e. .... running on localhost and making AJAX call to another server on my.server.com can cause this error.

Steve


Dan Godley wrote:

Hi,

 

I was wondering whether anyone can help me on this.

 

I’ve just replaced an older 3.5M1 version of Orbeon Forms with a nightly build from 9th March. 

 

The new version runs great on my local machine, but appears to have some javascript problems when I run it on a test server.  When I try to use any of the controls on a page generated by the test server, I get the message ‘Error while processing response: undefined’ displayed at the top of the page.  I’ve looked at the console messages in Firebug, and it looks like I’m getting the javascript error ‘Permission denied to call method XMLHttpRequest.open’.

 

After a quick search on Google, I’ve realised it’s not an uncommon error message but unfortunately I’ve no idea how to fix it.

 

I get the same problem in both Firefox and IE7.  Anyone any ideas?

 

Cheers, Dan

 

 


-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

slenhart.vcf (299 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

FW: Javascript error - 'Permission denied to call method XMLHttpRequest.open'

Dan Godley
In reply to this post by Dan Godley

Ryan/Steve,

 

Thanks very much for your replies – have now managed to fix this.

 

The problem was that I was calling the page using the server’s short name, e.g. ‘http://testserver:9090/ops/myOrbeonApp’ instead of ‘http://testserver.mydomain.com:9090/ops/myOrbeonApp’.  It was never a problem before, but I’ll just make sure I use the full URL from now on.

 

Thanks again, Dan

 

Dan Godley

Standards Developer
Origo Services Ltd
Tel: 0131 451 1186
Email: dgodley
[hidden email]

 

From: Dan Godley [mailto:[hidden email]]
Sent: 15 March 2007 14:27
To: [hidden email]
Subject: [ops-users] Javascript error - 'Permission denied to call method XMLHttpRequest.open'

 

Hi,

 

I was wondering whether anyone can help me on this.

 

I’ve just replaced an older 3.5M1 version of Orbeon Forms with a nightly build from 9th March. 

 

The new version runs great on my local machine, but appears to have some javascript problems when I run it on a test server.  When I try to use any of the controls on a page generated by the test server, I get the message ‘Error while processing response: undefined’ displayed at the top of the page.  I’ve looked at the console messages in Firebug, and it looks like I’m getting the javascript error ‘Permission denied to call method XMLHttpRequest.open’.

 

After a quick search on Google, I’ve realised it’s not an uncommon error message but unfortunately I’ve no idea how to fix it.

 

I get the same problem in both Firefox and IE7.  Anyone any ideas?

 

Cheers, Dan

 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: FW: Javascript error - 'Permission denied to call method XMLHttpRequest.open'

Ryan Puddephatt
Dan,
    You could use the context /ops/myOrbeonApp without the domain, this will get evaluated to the current server so it doesn't matter what server you run it on it will work, this is what we do

Ryan

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com



Dan Godley wrote:

Ryan/Steve,

 

Thanks very much for your replies – have now managed to fix this.

 

The problem was that I was calling the page using the server’s short name, e.g. ‘http://testserver:9090/ops/myOrbeonApp’ instead of ‘http://testserver.mydomain.com:9090/ops/myOrbeonApp’.  It was never a problem before, but I’ll just make sure I use the full URL from now on.

 

Thanks again, Dan

 

Dan Godley

Standards Developer
Origo Services Ltd
Tel: 0131 451 1186
Email: dgodley
[hidden email]

 

From: Dan Godley [[hidden email]]
Sent: 15 March 2007 14:27
To: [hidden email]
Subject: [ops-users] Javascript error - 'Permission denied to call method XMLHttpRequest.open'

 

Hi,

 

I was wondering whether anyone can help me on this.

 

I’ve just replaced an older 3.5M1 version of Orbeon Forms with a nightly build from 9th March. 

 

The new version runs great on my local machine, but appears to have some javascript problems when I run it on a test server.  When I try to use any of the controls on a page generated by the test server, I get the message ‘Error while processing response: undefined’ displayed at the top of the page.  I’ve looked at the console messages in Firebug, and it looks like I’m getting the javascript error ‘Permission denied to call method XMLHttpRequest.open’.

 

After a quick search on Google, I’ve realised it’s not an uncommon error message but unfortunately I’ve no idea how to fix it.

 

I get the same problem in both Firefox and IE7.  Anyone any ideas?

 

Cheers, Dan

 

 


-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws