473,394 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ActiveXObject("MSXML2.DOMDocument.4.0") error

I've made an ASP form page that is executed via a
Javascript function.

There's a javascript function that builds an XML object
with the form values. But in some browers it seems to
fail on the line that reads:

var objXML = new ActiveXObject("Msxml2.DOMDocument.4.0");

It's works fine in my IE 5.0, 5.5 and 6.0 browsers. Any
ideas why it fails for some users?

Thanks,

King Wilder
Jul 19 '05 #1
1 8617
On Mon, 15 Sep 2003 20:05:18 -0700, "K. Wilder" <ki**@gizmobeach.com>
wrote:
I've made an ASP form page that is executed via a
Javascript function.

There's a javascript function that builds an XML object
with the form values. But in some browers it seems to
fail on the line that reads:

var objXML = new ActiveXObject("Msxml2.DOMDocument.4.0");

It's works fine in my IE 5.0, 5.5 and 6.0 browsers. Any
ideas why it fails for some users?


You are most likely "up to date" on patches, etc. I dont think version
4.0 is guaranteed to be on a machine just because IE is on it. You
"may" be able to rely on simply MSXML.DOMDocument (no version
specified), but be sure your properties / methods match with the lower
versions.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Eric | last post by:
I have a problem using the XMLDOM throught data islands. On some machine it works fine but on other I get an error when trying to access a node using XMLDOM on data islands. Further more the...
2
by: RK | last post by:
Hi I am using the following code in the button_click event in xxxxx.htm page which is URL for the showModalDialog window. function btnAddComment_Onclick() { var user_info = new...
12
by: Stefano | last post by:
Hi all, what is the correct use of the "default" attribute in XML Schema? For example: <xs:element name="myProperty" type="xs:string" default="myDefaultValue"/> What can I do with it? What...
1
by: Oren | last post by:
Hi I have 2 simple questions and hope someone can help me 1) I have an aspx page with the Control: HTML ListBox on it (runat=server). I'm adding options in JavaScript .... mySelect =...
2
by: Maris Janis Vasilevskis | last post by:
Hi, Is it possible to force HttpWebRequest to do exactly (not approximately) the same as MSXML2.ServerXMLHTTP does? More details. I port JScript to JScript.NET I have a server (ASP invoking...
1
by: paul | last post by:
I am trying to get some compatible code that will work for Safari and Firefox for MAC. The following code works great with IE for MAC, IE, Firfox and Netscape on PC: xmlDoc = new...
1
by: FreeXenon | last post by:
OK, I am having a lot of problems loading an XML file via a Server-Side JavaScript based ASP page. Below is the code that I am using as well as the different methods of loading the XML file and the...
1
by: pbd22 | last post by:
Hi - I have code that automatically fills tabs on a page. In some cases, a URL path won't be correct (the folder and files don't exist) and, in these cases, I want to catch these exceptions and...
1
by: JTree | last post by:
Hi all, My System is windows and ie version is 7. My code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.