Author |
Topic  |
|
et10yl
Starting Member
17 Posts |
Posted - 08 June 2006 : 19:00:01
|
Hi all, I get the following JS error when I run MemberMap.asp:
quote:
Line: 175 Char: 4 Error: 'documentElement' is null or not an object Code: 0
The map and the page loads fine, but none of the pins load, and I presume that and the above-referenced error are because I don't have a usuable MemberMapsData file?
This is the error I get when I try to run MemberMapData.asp
quote: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A string literal was expected, but no opening quote character was found. Error processing resource 'http://www.asp...
<font face="Arial" size=2> -------------------------^
Thanks for any light you can shed on this. |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 08 June 2006 : 19:45:24
|
Do you have a link to the files in question? It looks like there's an error when generating the XML file, so the map won't display anything (the XML file is effectively empty).
Try temporarily changing the content type of the xml.asp file to html and see what you are able to generate. The error is likely in the ASP part of it, and the XML parser will stop at the smallest error (usually ones caused by another error page). |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
Edited by - muzishun on 08 June 2006 19:45:55 |
 |
|
CarKnee
Junior Member
 
USA
297 Posts |
Posted - 09 June 2006 : 15:12:11
|
You are getting a "500 error" on the MemberMapData.asp page... all ASP Errors start off like
<font face="Arial" size=2>
<p>Active Server Pages</font> <font face="Arial" size=2>error 'ASP...
Comments out the following line in MemberMapData.asp:
Response.ContentType = "text/xml"
Now run the page directly to see what error you are getting.
|
 |
 |
|
et10yl
Starting Member
17 Posts |
Posted - 09 June 2006 : 16:12:23
|
ahhh thanks for that tip CarKnee. I'm not familiar with XML, so that was very helpful. It turned out to be a JOIN function that was not supported. I am using MS Access. I applied the SQL changes that was referenced in the original thread for MemberMap w/Code and it looks like I am no longer getting the JOIN error.
However, membermapdata.asp shows up as an empty page. Even though when I look at the source of it, I see the output for it. Weird? Any ideas on what's going on?
Thanks! |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 10 June 2006 : 00:20:38
|
This is going to sound like a silly question, but did you UNcomment out the line above? If you don't, the server will interpret it as something other than XML. If you uncomment the line, it should be displayed properly. |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
 |
|
et10yl
Starting Member
17 Posts |
Posted - 10 June 2006 : 20:45:06
|
muzishun, I did uncomment out that line. I actually just tried it on another computer and it's working perfectly. I guess the simple F5 refresh on my computer didn't work, and I really needed to clear out my cache for that...
Thanks for the help, muzishun & CarKnee!! I hope this will pop up for anyone else using MemberMaps w/Access and it'll help them... |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 11 June 2006 : 14:47:57
|
Glad you got it working.
I don't know if you know about this, but when F5 doesn't work, try Shift-F5. It does a hard refresh that ignores whatever you have in your cache. |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
 |
|
|
Topic  |
|