Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot install MSXML 4 from MSI file

0 views
Skip to first unread message

ess...@community.nospam

unread,
Jul 12, 2005, 7:38:09 PM7/12/05
to
I keep getting this error:
Error 1402: Could not open key:
HKEY_LOCAL_MACHINE\Software\Classes\Msxml2.DOMDocument.4.0\CLSID.
Verify that you have sufficient access to that key, or contact your
support personnel.

when I try to install MSXML 4 from the MSI file.

I have local admin priviledged on my account and I've tried with the local
admin count, disabled the AV, etc, but the same error continually occurs.
The only references I've been able tofind are related to Office 2000, or
Windows 9x. I'm running Windows XP Pro with SP2 with Office 2003.

Kevin Yu [MSFT]

unread,
Jul 12, 2005, 11:26:46 PM7/12/05
to
Hi,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that an error which says key cannot be
opened when trying to install MSXML 4. If there is any misunderstanding,
please feel free to let me know.

This is quite wired. It seems that there might be some corruption in the
registry. You can try to check the permission of the
HKEY_LOCAL_MACHINE\Software\Classes key to see if you have the permission
to read and full control. If that still doesn't work, you can also try the
following.

1. Log in with the built in Administrator account to check if your local
admin account can access the key.
2. If not, log on with an account that has explicit permission to the key
and change the permissions to include full control for the Administrators
local group. Push these changes down to the child keys and subkeys.
3. Have the Administrators local group take ownership of the keys.
4. Log off and log back on with my admin account.
5. Install MSXML again.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

ess...@community.nospam

unread,
Jul 13, 2005, 4:30:04 PM7/13/05
to
Hi,
Thanks for the response. I've replied inline below.

"Kevin Yu [MSFT]" wrote:

> Hi,
>
> First of all, I would like to confirm my understanding of your issue. From
> your description, I understand that an error which says key cannot be
> opened when trying to install MSXML 4. If there is any misunderstanding,
> please feel free to let me know.

That's correct. I tried to install an application that installs MSXML4 as
part of the install, so I then tried to install MSXML alone and got the same
message.

>
> This is quite wired. It seems that there might be some corruption in the
> registry. You can try to check the permission of the
> HKEY_LOCAL_MACHINE\Software\Classes key to see if you have the permission
> to read and full control. If that still doesn't work, you can also try the
> following.

They do. I've tried modifying the permissions to match another computer also.

>
> 1. Log in with the built in Administrator account to check if your local
> admin account can access the key.
> 2. If not, log on with an account that has explicit permission to the key
> and change the permissions to include full control for the Administrators
> local group. Push these changes down to the child keys and subkeys.
> 3. Have the Administrators local group take ownership of the keys.
> 4. Log off and log back on with my admin account.
> 5. Install MSXML again.
>

I gave explicit rights to all the key and subkeys under the one I orginally
posted and I get the identical results.

Kevin Yu [MSFT]

unread,
Jul 14, 2005, 1:59:40 AM7/14/05
to
Hi,

I still think this is a permission issue. What I can suggest is you can log
on as the built in local administrator account and install MSXML 4 under
that account.

ess...@community.nospam

unread,
Jul 15, 2005, 3:09:02 PM7/15/05
to
When logging in as the local admin, I still receive the same error message.
I've directly duplicated the permissions from another system and that results
in the same error. The installer deletes and attempts to recreate the
sub-keys, during the install, so duplicating the installed XML key structure
doesn't work either.

Kevin Yu [MSFT]

unread,
Jul 15, 2005, 11:04:53 PM7/15/05
to
Hi,

Can you try to first delete the registry key on your system, then export
the registry of that key from another system and import it under the
administrator's account? We can see if you can modify the key using this
account, and if yes, after importing, please install MSXML again.

ess...@community.nospam

unread,
Jul 18, 2005, 4:31:08 PM7/18/05
to
Kevin,

Thanks for the help. I've got it sorted out. Turns out that SYSTEM needed
the permissions changed, adding or not adding the local Admin account didn't
matter. Once I changed all the XML 4 keys to allow SYSTEM full and read
access to the keys, XML installed fine.

But, now that I try to install the MS app that needed XML4, its resetting
the keys SYSTEM permissions back to Special and my original error message has
returned.

Kevin Yu [MSFT]

unread,
Jul 18, 2005, 9:20:07 PM7/18/05
to
Hi,

What product are you installing that sets the permission settings back?

ess...@community.nospam

unread,
Jul 19, 2005, 3:17:04 PM7/19/05
to
Virtual Server 2005 and/or Virtual Server 2005 SP1 beta

Kevin Yu [MSFT]

unread,
Jul 20, 2005, 6:06:34 AM7/20/05
to
Hi,

This might happen because msxml4.dll was not registered properly. Please
check the following link for more information.

http://support.microsoft.com/?id=888741

Also, I suggest you try to as in the following newsgroup. There might be
more professionals who can answer this question in that group.

microsoft.public.virtualserver

ess...@community.nospam

unread,
Aug 8, 2005, 1:56:01 AM8/8/05
to
Solution!

The entire key HKLM\Software\Classes needed the SYSTEM account with full
control permissions. Once this was changed, the install completed without
issue.

Thanks

Kevin Yu [MSFT]

unread,
Aug 8, 2005, 3:50:22 AM8/8/05
to
Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Aimee Lin

unread,
Feb 22, 2007, 2:28:48 AM2/22/07
to
running(运行?)"regsvr32 /u msxml4.dll" ok
problem solved

Gottfried Mauersberger

unread,
Nov 28, 2009, 10:05:47 AM11/28/09
to
Thank you for posting your solution. I followed it and it worked for me, too
:)

I also posted and linked to it on another MS help forum where no working
solution had been posted so far. http://social.answers.microsoft.
com/Forums/en-IE/vistawu/thread/400242ff-fe1d-4b8b-8c9a-175b2087dd78?
prof=required

I wonder if giving SYSTEM permission is safe, though

url:http://www.ureader.com/msg/1624701.aspx

0 new messages