473,386 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 2208
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.