Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

MSXML2.DOMDocument problem


When trying to create an object of the above type i am getting the following error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

I have tried installing the msxml parser 4.0 to no avail.

Anyone know what component i need to install?

Any help would be appreciated.


0
paulhannon
Asked:
paulhannon
  • 4
  • 4
1 Solution
 
b1xml2Commented:
You need to have Windows Installer 2.0 installed first before you can successfully install MSXML 4.0

From the download page:
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/766/msdncompositedoc.xml

This release uses Windows® Installer 2.0. If you do not have this version, download and install it here for Windows NT/2000 or here for Windows Me/9x.
0
 
paulhannonAuthor Commented:
Hello,

I've tried that but still same problem.
Any other thoughts?

For some reason it works on my local machine but not on the server for my website.
0
 
b1xml2Commented:
did you install Windows Installer 2.0 first and then MSXML 4.0 or after installing MSXML4, you installed Windows Installer 2.0.

It is a pre-requisite that Windows Installer 2.0 must be on your box be4 you can install MSXML4. Doing it any other way will result in your browser being damaged as far as XML functionality is concerned.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
paulhannonAuthor Commented:
Hello,

I've tried that but still same problem.
Any other thoughts?

For some reason it works on my local machine but not on the server for my website.
0
 
paulhannonAuthor Commented:
Initially I did try to install it first but it wouldn't let me. So then I installed the new version of the installer followed by the parser.

The thing is i am using the browser on my local machine anyway to access remote server. Would it make any difference if i installed ie6 on the actual server?
0
 
b1xml2Commented:
MSXML4 can run with MSIE 5+. I have MSIE 5.5 running successfully with MSXML4 in the office.
If you want to instantiate MSXML4 and I bet you, you dont have MSXML 2.6 or MSXML 3,

the ONLY way to instantiate MSXML 4 is to specify the version-specific progid

<%
Dim oXML
Set oXML = Server.CreateObject("Msxml2.DOMDocument.4.0")
%>
0
 
b1xml2Commented:
By using just Msxml2.DOMDocument, you are actually asking for MSXML 2.6 or MSXML 3.0 which can be called via the version INDEPENDENT progid. However, Microsoft has changed the rules for MSXML4 and requires a version dependent prog id for MSXML 4.
0
 
paulhannonAuthor Commented:
Thanks, I've basically tried installing ie6 on the server and it appears to work now.

Cheers,
Paul.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now