I'm working on developing the code on a local computer, so there is no
website to look at currently.
My apologies for posting the code here, but I've cut the code down to
the bare essentials needed to reproduce the problem. There are two
files, index.html and googlemaps.js. If the maps version is set to
2.99, then this page loads without error (provided the file "data.xml"
exists). The page does nothing, because I've deleted all the content,
but there are no errors. Change the version to 2.100, refresh the
page, and the "Access is denied" error occurs.
The files are as follows:
index.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-
microsoft-com:vml" lang="en" xml:lang="en">
<!-- saved from url=(0014)about:internet -->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /
> I'm working on developing the code on a local computer, so there is no
> website to look at currently.
> My apologies for posting the code here, but I've cut the code down to
> the bare essentials needed to reproduce the problem. There are two
> files, index.html and googlemaps.js. If the maps version is set to
> 2.99, then this page loads without error (provided the file "data.xml"
> exists). The page does nothing, because I've deleted all the content,
> but there are no errors. Change the version to 2.100, refresh the
> page, and the "Access is denied" error occurs.
With MSIE 7.0.5730.11 I get the error when using maps api versions
2.100-2.102 and 2.x (which is how I encountered the error). For api
versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
Since this is an access error, I tried setting all security settings
as low as possible, but that made no difference.
I have tested the code on two different computers (both running
Windows XP SP2), with the same results.
On Feb 19, 9:28 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
>With MSIE 7.0.5730.11 I get the error when using maps api versions >2.100-2.102 and 2.x (which is how I encountered the error). For api >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
If you get the same error when you ask for v2.102, then that suggests that there's something you're not telling us. v2.102 doesn't exist yet, so the code fails with "GMap2 is not defined" and never gets to the part where you try to load the data.
I suggest that you put an example that fails with "access is denied" onto a public webspace and post a link.
> >With MSIE 7.0.5730.11 I get the error when using maps api versions
> >2.100-2.102 and 2.x (which is how I encountered the error). For api
> >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> If you get the same error when you ask for v2.102, then that suggests
> that there's something you're not telling us. v2.102 doesn't exist yet,
> so the code fails with "GMap2 is not defined" and never gets to the part
> where you try to load the data.
> I suggest that you put an example that fails with "access is denied"
> onto a public webspace and post a link.
> In any case, I uploaded the files listed above to a temporary website
> (adding a key to match). They work fine, without any errors.
> Therefore, the problem is when I'm looking at the page on my local
> computers. Since no one else can see the problem, at this stage I
> give up.
> On Feb 20, 6:17 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> > Wasn't it BobW who wrote:
> > >With Firefox 2.0.0.6 I get no errors.
> > >With MSIE 7.0.5730.11 I get the error when using maps api versions
> > >2.100-2.102 and 2.x (which is how I encountered the error). For api
> > >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> > If you get the same error when you ask for v2.102, then that suggests
> > that there's something you're not telling us. v2.102 doesn't exist yet,
> > so the code fails with "GMap2 is not defined" and never gets to the part
> > where you try to load the data.
> > I suggest that you put an example that fails with "access is denied"
> > onto a public webspace and post a link.
On Mar 11, 11:55 pm, german <gez...@hotmail.com> wrote:
> I also have this very same problem, have you solved this ?
> thx.
> On Feb 20, 3:29 pm, BobW <bobwatson...@hotmail.com> wrote:
> > It should have said 2.100-2.101.
> > In any case, I uploaded the files listed above to a temporary website
> > (adding a key to match). They work fine, without any errors.
> > Therefore, the problem is when I'm looking at the page on my local
> > computers. Since no one else can see the problem, at this stage I
> > give up.
If either of you would post a link to a page that works on a live
website, but fails on your local computer, someone might be able to
look at it and tell you where you are going wrong. Without something
to look at, we would just be guessing...
> > On Feb 20, 6:17 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> > > Wasn't it BobW who wrote:
> > > >With Firefox 2.0.0.6 I get no errors.
> > > >With MSIE 7.0.5730.11 I get the error when using maps api versions
> > > >2.100-2.102 and 2.x (which is how I encountered the error). For api
> > > >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> > > If you get the same error when you ask for v2.102, then that suggests
> > > that there's something you're not telling us. v2.102 doesn't exist yet,
> > > so the code fails with "GMap2 is not defined" and never gets to the part
> > > where you try to load the data.
> > > I suggest that you put an example that fails with "access is denied"
> > > onto a public webspace and post a link.
On revisiting this problem, I can make the "Access is denied" error go
away by changing the following browser setting (in IE7):
Go into the Tools menu
Then Internet Options
Click on the Advanced tab
Find "Enable native XMLHTTP support"
(towards the bottom of the list)
Unselect this option.
Make this change at your own risk. I wouldn't be surprised if
unselecting this option has consequences for other things.
My understanding is that the GXmlHttp function implements XMLHTTP
across different browsers. The error occurs for me only in IE7, while
IE6 and Firefox 2 are both fine. Something changed in API v2.100,
presumably within GXmlHttp, that meant the IE7 native XMLHTTP function
no longer works on a local host, at least under some circumstances.
What the change was, or what the circumstances are, I do not know.
On Mar 12, 7:55 pm, german <gez...@hotmail.com> wrote:
> I also have this very same problem, have you solved this ?
> thx.
> On Feb 20, 3:29 pm, BobW <bobwatson...@hotmail.com> wrote:
> > It should have said 2.100-2.101.
> > In any case, I uploaded the files listed above to a temporary website
> > (adding a key to match). They work fine, without any errors.
> > Therefore, the problem is when I'm looking at the page on my local
> > computers. Since no one else can see the problem, at this stage I
> > give up.
> > On Feb 20, 6:17 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> > > Wasn't it BobW who wrote:
> > > >With Firefox 2.0.0.6 I get no errors.
> > > >With MSIE 7.0.5730.11 I get the error when using maps api versions
> > > >2.100-2.102 and 2.x (which is how I encountered the error). For api
> > > >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> > > If you get the same error when you ask for v2.102, then that suggests
> > > that there's something you're not telling us. v2.102 doesn't exist yet,
> > > so the code fails with "GMap2 is not defined" and never gets to the part
> > > where you try to load the data.
> > > I suggest that you put an example that fails with "access is denied"
> > > onto a public webspace and post a link.
eventhough it still works on the web, markers and select boxes wont
appear when page is opened localy with IE anymore, since a couple of
days with an "access denied" error. - (they still open with firefox)
i dont think is a google maps update issue since i am using v=2. The
latest days indeed microsoft released some updates which i applied. I
am not sure yet if its just a loading from .xml issue
On Mar 13, 2:27 am, BobW <bobwatson...@hotmail.com> wrote:
> On revisiting this problem, I can make the "Access is denied" error go
> away by changing the following browser setting (in IE7):
> Go into the Tools menu
> Then Internet Options
> Click on the Advanced tab
> Find "Enable native XMLHTTP support"
> (towards the bottom of the list)
> Unselect this option.
> Make this change at your own risk. I wouldn't be surprised if
> unselecting this option has consequences for other things.
> My understanding is that the GXmlHttp function implements XMLHTTP
> across different browsers. The error occurs for me only in IE7, while
> IE6 and Firefox 2 are both fine. Something changed in API v2.100,
> presumably within GXmlHttp, that meant the IE7 native XMLHTTP function
> no longer works on a local host, at least under some circumstances.
> What the change was, or what the circumstances are, I do not know.
> On Mar 12, 7:55 pm, german <gez...@hotmail.com> wrote:
> > I also have this very same problem, have you solved this ?
> > thx.
> > On Feb 20, 3:29 pm, BobW <bobwatson...@hotmail.com> wrote:
> > > It should have said 2.100-2.101.
> > > In any case, I uploaded the files listed above to a temporary website
> > > (adding a key to match). They work fine, without any errors.
> > > Therefore, the problem is when I'm looking at the page on my local
> > > computers. Since no one else can see the problem, at this stage I
> > > give up.
> > > On Feb 20, 6:17 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> > > > Wasn't it BobW who wrote:
> > > > >With Firefox 2.0.0.6 I get no errors.
> > > > >With MSIE 7.0.5730.11 I get the error when using maps api versions
> > > > >2.100-2.102 and 2.x (which is how I encountered the error). For api
> > > > >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> > > > If you get the same error when you ask for v2.102, then that suggests
> > > > that there's something you're not telling us. v2.102 doesn't exist yet,
> > > > so the code fails with "GMap2 is not defined" and never gets to the part
> > > > where you try to load the data.
> > > > I suggest that you put an example that fails with "access is denied"
> > > > onto a public webspace and post a link.
> eventhough it still works on the web, markers and select boxes wont
> appear when page is opened localy with IE anymore, since a couple of
> days with an "access denied" error. - (they still open with firefox)
> i dont think is a google maps update issue since i am using v=2. The
> latest days indeed microsoft released some updates which i applied. I
> am not sure yet if its just a loading from .xml issue
> On Mar 13, 2:27 am, BobW <bobwatson...@hotmail.com> wrote:
> > On revisiting this problem, I can make the "Access is denied" error go
> > away by changing the following browser setting (in IE7):
> > Go into the Tools menu
> > Then Internet Options
> > Click on the Advanced tab
> > Find "Enable native XMLHTTP support"
> > (towards the bottom of the list)
> > Unselect this option.
> > Make this change at your own risk. I wouldn't be surprised if
> > unselecting this option has consequences for other things.
> > My understanding is that the GXmlHttp function implements XMLHTTP
> > across different browsers. The error occurs for me only in IE7, while
> > IE6 and Firefox 2 are both fine. Something changed in API v2.100,
> > presumably within GXmlHttp, that meant the IE7 native XMLHTTP function
> > no longer works on a local host, at least under some circumstances.
> > What the change was, or what the circumstances are, I do not know.
> > On Mar 12, 7:55 pm, german <gez...@hotmail.com> wrote:
> > > I also have this very same problem, have you solved this ?
> > > thx.
> > > On Feb 20, 3:29 pm, BobW <bobwatson...@hotmail.com> wrote:
> > > > It should have said 2.100-2.101.
> > > > In any case, I uploaded the files listed above to a temporary website
> > > > (adding a key to match). They work fine, without any errors.
> > > > Therefore, the problem is when I'm looking at the page on my local
> > > > computers. Since no one else can see the problem, at this stage I
> > > > give up.
> > > > On Feb 20, 6:17 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> > > > > Wasn't it BobW who wrote:
> > > > > >With Firefox 2.0.0.6 I get no errors.
> > > > > >With MSIE 7.0.5730.11 I get the error when using maps api versions
> > > > > >2.100-2.102 and 2.x (which is how I encountered the error). For api
> > > > > >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> > > > > If you get the same error when you ask for v2.102, then that suggests
> > > > > that there's something you're not telling us. v2.102 doesn't exist yet,
> > > > > so the code fails with "GMap2 is not defined" and never gets to the part
> > > > > where you try to load the data.
> > > > > I suggest that you put an example that fails with "access is denied"
> > > > > onto a public webspace and post a link.
Please note that testing locally in IE6 or FireFox is not always an
option.
Although the fix works for web servers, Desktop apps will be broken by
the "Enable native XMLHTTP support", if the desktop app loads map data
from a local XML file.
If you are using an app that loads xml from local files, you will have
no choice but to disable the "Enable native XMLHTTP support" option.
Google please bear this in mind when producing a fix. (Not all Google
map apps run from web servers, many tracking desktop apps run from
local machines outside of any web servers)
Regards
Nick
On Mar 13, 8:15 pm, "pamela (Google Employee)" <pamela....@gmail.com>
wrote:
> > eventhough it still works on the web, markers and select boxes wont
> > appear when page is opened localy with IE anymore, since a couple of
> > days with an "access denied" error. - (they still open with firefox)
> > i dont think is a google maps update issue since i am using v=2. The
> > latest days indeed microsoft released some updates which i applied. I
> > am not sure yet if its just a loading from .xml issue
> > On Mar 13, 2:27 am, BobW <bobwatson...@hotmail.com> wrote:
> > > On revisiting this problem, I can make the "Access is denied" error go
> > > away by changing the following browser setting (in IE7):
> > > Go into the Tools menu
> > > Then Internet Options
> > > Click on the Advanced tab
> > > Find "Enable native XMLHTTP support"
> > > (towards the bottom of the list)
> > > Unselect this option.
> > > Make this change at your own risk. I wouldn't be surprised if
> > > unselecting this option has consequences for other things.
> > > My understanding is that the GXmlHttp function implements XMLHTTP
> > > across different browsers. The error occurs for me only in IE7, while
> > > IE6 and Firefox 2 are both fine. Something changed in API v2.100,
> > > presumably within GXmlHttp, that meant the IE7 native XMLHTTP function
> > > no longer works on a local host, at least under some circumstances.
> > > What the change was, or what the circumstances are, I do not know.
> > > On Mar 12, 7:55 pm, german <gez...@hotmail.com> wrote:
> > > > I also have this very same problem, have you solved this ?
> > > > thx.
> > > > On Feb 20, 3:29 pm, BobW <bobwatson...@hotmail.com> wrote:
> > > > > It should have said 2.100-2.101.
> > > > > In any case, I uploaded the files listed above to a temporary website
> > > > > (adding a key to match). They work fine, without any errors.
> > > > > Therefore, the problem is when I'm looking at the page on my local
> > > > > computers. Since no one else can see the problem, at this stage I
> > > > > give up.
> > > > > On Feb 20, 6:17 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
> > > > > > Wasn't it BobW who wrote:
> > > > > > >With Firefox 2.0.0.6 I get no errors.
> > > > > > >With MSIE 7.0.5730.11 I get the error when using maps api versions
> > > > > > >2.100-2.102 and 2.x (which is how I encountered the error). For api
> > > > > > >versions 2, 2.s, and 2.73 to 2.99 the error does not occur.
> > > > > > If you get the same error when you ask for v2.102, then that suggests
> > > > > > that there's something you're not telling us. v2.102 doesn't exist yet,
> > > > > > so the code fails with "GMap2 is not defined" and never gets to the part
> > > > > > where you try to load the data.
> > > > > > I suggest that you put an example that fails with "access is denied"
> > > > > > onto a public webspace and post a link.