Re: regsvr32 error code 0x80004002



Hi Norman,
Regarding this issue, first I would like to confirm with you the following
two questions:
1. Did you use an administrator account to build and register your ATL DLL?
2. Did you build your ATL project with /MANIFEST option?
Right click your project, click Properties, expand Configuration
Properties->Linker->Manifest File, and set "Generate Manifest" to Yes. If
it was set to Yes, please rebuild your project and then re-register your
DLL to see if it helps.

Both CRT 8.0 and ATL 8.0 DLLs are accessible only via WinSxS, if /MANIFEST
is not enabled, regsvr32.exe attempting to load the DLLs may fail because
the dependent WinSxS assemblies (CRT and ATL) cannot be loaded.

If you have any other questions or concerns, please feel free to let me
know.

Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================














.



Relevant Pages

  • Re: regsvr32 error code 0x80004002
    ... Yes I did use an administrator account, ... and when typing the regsvr32 command. ... the properties for the ATL DLL project already say to generate a ... Did you use an administrator account to build and register your ATL ...
    (microsoft.public.vc.mfc)
  • Re: creating an ATL COM service
    ... ATL COM service (not a DLL) which has a dummy interface.. ... i want to register it as a windows ...
    (microsoft.public.vc.atl)
  • Another DLL question
    ... I wrote and ATL COM Dll that I am using in VB.NET. ... same folder as the host application, without having to register it first? ... executable folder with an Interop. ...
    (microsoft.public.vc.language)
  • Re: How do I deloy an Excel-AddIn ?
    ... I develop office addin via ATL. ... I guess the your dll is a COM library, try regsvr32 /u to unregister and then regsvr32 to register again. ...
    (microsoft.public.office.developer.com.add_ins)
  • about ole db provider
    ... 1, I build an ole db provider with ATL template,how to ... 2,I try a dll for built ole db proider,i register the dll ...
    (microsoft.public.data.oledb)

Loading