Microsoft Vbscript Runtime Error '800a01a8' Object Required 'xml.documentelement'
Codes beginning 08005... The Cause of Error 800A01A8 Your VBScript contains an illegal method, probably a typing mistake or an extra letter. The file is in the same directory as the asp page. Any ideas? weblink
You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. Download and install this http://www.microsoft.com/downloads/d...displaylang=en Mendhak.com|Flickr|Github|GPS Logger for Android| Reply With Quote Apr 16th, 2008,12:38 PM #5 MarkT View Profile View Forum Posts PowerPoster Join Date Jun 2001 Location Trafalgar, IN I am using VBScript and ASP to attempt to parse an xml packet that was posted to my site from a number of various domains. How can I strengthen a lawn/verge? Bonuses
I'm just guessing but it could due to a different version of the "MSXML" library If it's not reason 1, you might want to try the following code (from MSDN reference): All rights reserved. Again thanks for your help - it is very much appreciated. 0 jamziee 6 Years Ago How do you post the variable? if objXML.parseError.reason = "" then response.write "here 1" end if It enters the loop and writes "here 1" if objXMLdoc is Nothing then response.write "here 2" else response.write "here 3" end
Any help much appreciated! Yes, it is alright to use an 11MB XML file, it'll just be a little slow when you manipulate it with code as the entire file has to be loaded into Download your free copy of WMI Monitor Do you need additional help? Message Insert Code Snippet Alt+I Code Inline Code Link H1 H2 Preview Submit your Reply Alt+S Ask a Different Web Development Question Related Articles ASP Repeat Region and Strings 28 replies
Mendhak.com|Flickr|Github|GPS Logger for Android| Reply With Quote Apr 15th, 2008,09:11 PM #3 crazyjockey View Profile View Forum Posts Thread Starter New Member Join Date Apr 2008 Posts 10 Re: objXMLDoc.documentElement error I need to display contents according to date so my xml is like
Could you show some more code , / –SearchAndResQ Sep 11 '13 at 6:09 @SearchAndResQ I've edited the question –AimanB Sep 11 '13 at 7:01 Something wrong Contact Us Web Developer Forum Top Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. Incidentally, in the WSH message, Source: reports a runtime error not a compilation error, this means you are not looking for a pure syntax problem such as a missing bracket. have your client use an XML Request (XMLHTTP) object.
See master list of 0800 errors. http://www.webdeveloper.com/forum/showthread.php?31642-documentElement-error Mendhak.com|Flickr|Github|GPS Logger for Android| Reply With Quote Apr 23rd, 2008,03:29 AM #17 crazyjockey View Profile View Forum Posts Thread Starter New Member Join Date Apr 2008 Posts 10 Re: objXMLDoc.documentElement error I know the difference. I want to define a variable for each piece of data I get back.
PLEEEEEEEEEEASE, someone show me the way! http://goglospex.com/microsoft-vbscript/microsoft-vbscript-runtime-error-800a01a8-object-required-xml-version-1-0.html The most likely cause is a typo which induces faulty logic.In the case of runtime errors, you can use this temporary work around. It's Hat Season…Announcing Winter Bash 2016 Related 5Classic ASP - Request object Is Empty0how to solve object required error in Classic ASP1classic asp error in global.asa: Object required: 'Session'3Detect an a Codes beginning 08004...
I need to display contents according to date so my xml is like
You are welcome. >>I even understood what you said in your solution LOL. Check the logic of your METHOD statement. Copied in "
Mendhak.com|Flickr|Github|GPS Logger for Android| Reply With Quote Apr 18th, 2008,02:59 AM #11 crazyjockey View Profile View Forum Posts Thread Starter New Member Join Date Apr 2008 Posts 10 Re: objXMLDoc.documentElement error
If the Ch’in dynasty was so short-lived, why was China named for it? Posts: 3,073 Thanks: 1 Thanked 38 Times in 37 Posts As an aside your XML is in an incorrect format according to the schema specified. Can you post a example of the xml returned from the api 0 spence89 6 Years Ago Of course, Here is an example of the XML data returned. Thanks asp senexom 1 53 posts since Jun 2005 Community Member 7Contributors 44Replies 51Views 11 YearsDiscussion Span 6 Years Ago Last Post by jamziee 1 Discussion Starter senexom 1 11 Years
It isnt an object that will read XML Dom. One possibility is that you are using a WSH object does not exist or has not been declared. Can you give more information on what you did to parse the XML, including ASP and XML code samples? this content It turns out that the problem is this: You need to remove it from the xml before you load it onto your DOM object. <%
Go into your file, and remove this bit -
NetScaler Citrix OnPage / Connectwise integration Video by: Adam C. My suggestion is that there is a typo in an object or method in your script. asp Page 12→ This article has been dead for over six months. Did you end up using a revised version of the post?
if objXML.parseError.reason = "" then response.write "here 1" end if It enters the loop and writes "here 1" if objXMLdoc is Nothing then response.write "here 2" else response.write "here 3" end