Error code in building VB.Net Setup project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon Jefferies

    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


  • Mike Wade [MSFT]

    #2
    RE: Error code in building VB.Net Setup project

    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_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000
    00000046}]
    @="IEnumVARIANT "

    [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000
    00000046}\NumMe thods]
    @="7"

    [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000
    00000046}\Proxy StubClsid]
    @="{00020421-0000-0000-C000-000000000046}"

    [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000
    00000046}\Proxy StubClsid32]
    @="{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.

    --------------------[color=blue]
    >From: "Simon Jefferies" <simonj@headfir st.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
    >[/color]

    Comment

    • Simon Jefferies

      #3
      Re: Error code in building VB.Net Setup project

      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]" <mwade@online.m icrosoft.com> wrote in message
      news:XMPUXVhAEH A.612@cpmsftngx a06.phx.gbl...[color=blue]
      > I have heard of this occurring in the past, usually because of a registry[/color]
      corruption of some registered interfaces[color=blue]
      > (generally not caused by the Visual Studio install, but some other[/color]
      application). It appears that at least one in[color=blue]
      > instance showed that the entries for the IEnumVARIANT interface were[/color]
      corrrupted. You should check your registry[color=blue]
      > and see if it matches the following:
      >
      > Windows Registry Editor Version 5.00
      >
      >[/color]
      [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000[color=blue]
      > 00000046}]
      > @="IEnumVARIANT "
      >
      >[/color]
      [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000[color=blue]
      > 00000046}\NumMe thods]
      > @="7"
      >
      >[/color]
      [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000[color=blue]
      > 00000046}\Proxy StubClsid]
      > @="{00020421-0000-0000-C000-000000000046}"
      >
      >[/color]
      [HKEY_LOCAL_MACH INE\SOFTWARE\Cl asses\Interface \{00020404-0000-0000-C000-0000[color=blue]
      > 00000046}\Proxy StubClsid32]
      > @="{00020421-0000-0000-C000-000000000046}"
      >
      > If not, that is probably the source of your problem. Export the above to[/color]
      a .reg file and run it.[color=blue]
      >
      >
      > --
      > Mike Wade, VB Team
      > This posting is provided "AS IS" with no warranties, and confers no[/color]
      rights.[color=blue]
      >
      > --------------------[color=green]
      > >From: "Simon Jefferies" <simonj@headfir st.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
      > >[/color]
      >[/color]


      Comment

      Working...