Error code in building VB.Net Setup project

  • Thread starter Simon Jefferies
  • Start date
S

Simon Jefferies

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
 
M

Mike Wade [MSFT]

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\{00020404-0000-0000-C000-0000
00000046}]
@="IEnumVARIANT"

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

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-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.
 
S

Simon Jefferies

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 said:
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\{00020404-0000-0000-C000-0000
00000046}]
@="IEnumVARIANT"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-0000
00000046}\NumMethods]
@="7"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-0000
00000046}\ProxyStubClsid]
@="{00020421-0000-0000-C000-000000000046}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-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" <[email protected]>
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
 
M

Mike Wade [MSFT]

Another thing you can try is to re-register mergemod.dll or run repair on your VS Setup.

You can also check out http://support.microsoft.com/?id=329214 for more info.

--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Simon Jefferies" <[email protected]>
Subject: Re: Error code in building VB.Net Setup project
Date: Fri, 5 Mar 2004 09:42:14 -0000

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 said:
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\{00020404-0000-0000-C000-0000
00000046}]
@="IEnumVARIANT"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-0000
00000046}\NumMethods]
@="7"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-0000
00000046}\ProxyStubClsid]
@="{00020421-0000-0000-C000-000000000046}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-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" <[email protected]>
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
 
S

Simon Jefferies

I followed your instructions for re-registering mergemod.dll and it went
through a windows installer process when I ran .NET - but it solved it! I
can build setup projects! :)

Cheers
Simon Jefferies, Tools Programmer
Headfirst Productions

Mike Wade said:
Another thing you can try is to re-register mergemod.dll or run repair on your VS Setup.

You can also check out http://support.microsoft.com/?id=329214 for more info.

--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Simon Jefferies" <[email protected]>
Subject: Re: Error code in building VB.Net Setup project
Date: Fri, 5 Mar 2004 09:42:14 -0000

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 said:
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\{00020404-0000-0000-C000-000 0
00000046}]
@="IEnumVARIANT"

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

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000 0
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" <[email protected]>
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top