473,473 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2211
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Volkan Karaboða | last post by:
I have an aspx that contains a report prepared with crystal report, when I try to run myapp. on another server which has no crystal report tool installed on it. I receive following error code even...
6
by: Peter Row | last post by:
Hi, Can someone give me a set of steps for an ASP.NET project (well actually its just a VB.NET class DLL that implements HttpHandler) that will work when moved to another developers machine? ...
4
by: blackdevil1979 | last post by:
Hello, I have created a vb.net program... and now wish to do a setup program so that i can open the .exe in another computer which do not have vb.net. Can someone show me the simplest way to...
1
by: Chuck | last post by:
I'm using a setup and deployment project in VB.Net to make my distributable file. I set all my options and go to build my project and I get the following error. Error 1706. No valid source...
0
by: Arif | last post by:
After un-installing some programs like Sybase database, SQL server instance etc. from WindowsXP. I am getting the following error when I build my ‘Setup and Deployment project’: Could not...
6
by: tony | last post by:
Hello! I have several projects where each one build a library.(class library or window control library). Now I get some strange compile error when building the *.exe file and doesn't...
0
by: Andrew | last post by:
Need help figuring out the issue here. One of my coworkers builds an ASP.Net 2.0 Web Site that displays a single SQL Report using the Report Viewer Control. This is the first time she has done...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
0
by: chandan | last post by:
Hi All, I am creating a web setup Project using VS 2005.First time its works fine, But when I closed the solution and again open solution and try to build web setup project then there is an error...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.