| View previous topic :: View next topic |
| Author |
Message |
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Mon Sep 21, 2009 12:02 pm Creating Links to .kmz files for Google Earth |
|
|
|
I'm trying to create a link to a .kmz file.
The code is not working.
<a
href="Final_Google_Map.kmz"
<% If browser_type = "MSIE" Then %>
target="_blank"
<% End If %>
any suggestions. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
|
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Tue Sep 22, 2009 11:55 am |
|
|
|
| Lets say it is a website. I can not give you the full address it is a secure website. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
Posted: Tue Sep 22, 2009 1:04 pm |
|
|
|
I was just asking a rhetorical question. Is the *.kmz file local on your server or elsewhere on the Internet? What program is expected to use the file when link is clicked on?
Last edited by PayneLess Designs on Tue Sep 22, 2009 5:44 pm; edited 2 times in total |
|
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Tue Sep 22, 2009 2:01 pm |
|
|
|
| It is on the server. Google Earth. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
Posted: Tue Sep 22, 2009 5:45 pm |
|
|
|
Well, you answered one of the two questions. getting info from you is hard. Better that you read the Google Earth's tutorial and then come back with more information:
Google Earth Tutorial |
|
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Wed Sep 23, 2009 7:23 am |
|
|
|
I have read the tutorial. But it still does not address how to create a link from my web site using a .kmz file. This is the error message I get.
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
•Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
•If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
•Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
•Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
•Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
Posted: Wed Sep 23, 2009 3:10 pm |
|
|
|
OK. I am going to try again. This path, "Final_Google_Map.kmz", is a relative path. The file must be on your server to work. If it is on Google's server or some other server other than yours, the path has to be:
<a href="http://Google.com/Final_Google_Map.kmz">Final Google Map</a>
<% If browser_type = "MSIE" Then %>
target="_blank"
<% End If %>
Or something similar. You must use "http://domain_name.com/" or whatever the full path is to the "kmz" file. |
|
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Thu Sep 24, 2009 11:02 am |
|
|
|
| Thanks, I have made these changes and the link still does not work. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
Posted: Thu Sep 24, 2009 7:16 pm |
|
|
|
| Show your code you used when you make changes. |
|
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Fri Sep 25, 2009 6:37 am |
|
|
|
<a href="//domain_name/clients/CLIENT/forms/Primace Final Google Map.kmz"
<% If browser_type = "MSIE" Then %>
target="_blank"
<% End If %>
><b>Primacy Final Google Map
</b></a>
<% End If %> |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
Posted: Fri Sep 25, 2009 1:40 pm |
|
|
|
href="//domain_name/clients/CLIENT/forms/Primace Final Google Map.kmz is an incorrect path as I keep telling you. Do you NOT know what a correct URL path is? That is suppose to be going to Google Earth's server...right? You have no path going to ANY server with that code.
Can you NOT give me the link to the Google Earth server where that file is found so I can get the exact path you need for you? |
|
jabbazz
Joined: 21 Sep 2009 Posts: 9
|
Posted: Mon Sep 28, 2009 7:21 am |
|
|
|
| This is not on the google earth server. But our own. At this time I can not identify the server name. Thanks for your help. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
Posted: Mon Sep 28, 2009 3:05 pm |
|
|
|
Well, you don't have to identify it, but just understand what I am saying about the path to it.
You're welcome. Sorry I couldn't be more help. |
|
|