PDA

View Full Version : Ajax Include Script error



JakedGr8
06-21-2007, 09:19 PM
When I load the page and all the Ajax include script has been put in, I get this error in my browser:

Error: uncaught exception: Permission denied to call method XMLHttpRequest.open

This is in concern for this script:

http://dynamicdrive.com/dynamicindex17/ajaxincludes.htm

It's odd, because this is within my own site, so not sure what's up here. Any ideas on fixes?

jscheuer1
06-22-2007, 02:29 AM
It could be a number of things. If you are using IE 7 and testing locally, that will happen. If you are live it shouldn't and it shouldn't happen in other browsers live or locally as long as the imported content is on the same domain. However, there could be a problem (live in any browser) with your DNS setup, such that the browser thinks the imported content is from another domain, even when it isn't.

Other than those, you may have installed the script incorrectly, or there could be something about the server setup other than the DNS that is messing things up.

A link to your problem page would be required if you need more help but, if it is a problem with the server, this may be hard to tell even with a link to the live page.