472,127 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Error code in building VB.Net Setup project

Hello,

I've created a fresh VB.NET Setup project using the wizard.

When I build the project I get the following error message:

ERROR: An error occurred while validating. HRESULT = '80004002'

Any ideas?
TIA
Simon Jefferies
Nov 20 '05 #1
2 2155
I have heard of this occurring in the past, usually because of a registry corruption of some registered interfaces
(generally not caused by the Visual Studio install, but some other application). It appears that at least one in
instance showed that the entries for the IEnumVARIANT interface were corrrupted. You should check your registry
and see if it matches the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000
00000046}]
@="IEnumVARIANT"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000
00000046}\NumMethods]
@="7"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000
00000046}\ProxyStubClsid]
@="{00020421-0000-0000-C000-000000000046}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000
00000046}\ProxyStubClsid32]
@="{00020421-0000-0000-C000-000000000046}"

If not, that is probably the source of your problem. Export the above to a .reg file and run it.
--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Simon Jefferies" <si****@headfirst.co.uk>
Subject: Error code in building VB.Net Setup project
Date: Thu, 4 Mar 2004 17:19:00 -0000

Hello,

I've created a fresh VB.NET Setup project using the wizard.

When I build the project I get the following error message:

ERROR: An error occurred while validating. HRESULT = '80004002'

Any ideas?
TIA
Simon Jefferies


Nov 20 '05 #2
Hello,

Thanks for your reply,

I've tried what you've mentioned but it hasn't fixed the issue.

Any further suggestions that I can try?

Simon Jefferies
Tools Programmer
Headfirst Productions

"Mike Wade [MSFT]" <mw***@online.microsoft.com> wrote in message
news:XM*************@cpmsftngxa06.phx.gbl...
I have heard of this occurring in the past, usually because of a registry corruption of some registered interfaces (generally not caused by the Visual Studio install, but some other application). It appears that at least one in instance showed that the entries for the IEnumVARIANT interface were corrrupted. You should check your registry and see if it matches the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000 00000046}]
@="IEnumVARIANT"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000 00000046}\NumMethods]
@="7"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000 00000046}\ProxyStubClsid]
@="{00020421-0000-0000-C000-000000000046}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{000 20404-0000-0000-C000-0000 00000046}\ProxyStubClsid32]
@="{00020421-0000-0000-C000-000000000046}"

If not, that is probably the source of your problem. Export the above to a .reg file and run it.

--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Simon Jefferies" <si****@headfirst.co.uk>
Subject: Error code in building VB.Net Setup project
Date: Thu, 4 Mar 2004 17:19:00 -0000

Hello,

I've created a fresh VB.NET Setup project using the wizard.

When I build the project I get the following error message:

ERROR: An error occurred while validating. HRESULT = '80004002'

Any ideas?
TIA
Simon Jefferies

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Volkan Karabođa | last post: by
6 posts views Thread by Peter Row | last post: by
4 posts views Thread by blackdevil1979 | last post: by
1 post views Thread by Chuck | last post: by
6 posts views Thread by tony | last post: by
reply views Thread by Andrew | last post: by
7 posts views Thread by Norman Diamond | last post: by

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.