Windows error 0x8002801C, -2147319780

Detailed Error Information

TYPE_E_REGISTRYACCESS[1]

MessageError accessing the OLE registry.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode2 (0x002)
NameFACILITY_DISPATCH[2][1]
DescriptionThe source of the error code is a COM Dispatch.[2][1]
Error Code32796 (0x801c)

Questions

18votes
4answers

Visual Studio 2010 - TYPE_E_REGISTRYACCESS

I'm building my VS2010 solution and in output window there is an error just for one project. In error tab: Error 161 Cannot register type library "D:\Sites\Website\MyPortal.Website.Controllers\bin\Debug\MyPortal.Website.Controllers.tlb". Error accessing the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS)) MyPortal.Website.Controllers In output tab: Compile complete -- 0 errors, 153 warnings MyPortal.Website.Controllers -> [...] read more
visual-studio-2010
typelib
4votes
3answers

Register RichTx32.Ocx in Windows 7 64 bit

I am trying to register RichTx32.Ocx for an application I am working on in Access 2010 (File Format 2003 mdb). I have been updated to Windows 7 64 bit (from Windows XP SP3 32 bit) and can't get the ActiveX OCX to register. I have put the file in the [...] read more
windows
ms-access
ocx
2votes
2answers

regasm registry error

I enter this: > regasm COMTest.dll /tlb:COMTest.tlb /codebase COMTest And I get the following error: > An error occurred while registering the exported type library: Error accessing > the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS)) What does it mean, how do I fix it? read more
regasm
2votes
1answer

Registration COM c# component - TYPE_E_REGISTRYACCESS

I have problem with registration my COM C# component ,here is the code: [Guid("BBA10049-5A29-46f2-9D6A-084A38345F11"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)] public interface DBCOM_Events { } [Guid("793DD198-0E9C-4b2d-9C4D-609584D8B4DC"), ClassInterface(ClassInterfaceType.None), ComSourceInterfaces(typeof(DBCOM_Events))] public class CSharpIstreamWraper : IStream { public Stream InnerStream; public string name; public CSharpIstreamWraper(Stream NetworkStream, string name_ = null) { InnerStream = NetworkStream; name = name_; } [...] read more
c#
com
registry
1vote
0answers

COMException when instantiating class from a DLL

I am new to .NET and windows in general (but have experience with C/C++) and am running into a problem when I try to instantiate a class that is defined in a dll. MY SETUP: In Visual Studio 2013, my solution contains two projects: 1. c# windows application (.NET 4.5) [...] read more
c#
.net
dll
1vote
1answer

Uninteresting BHO dll 64 bit and 32 bit using regsvr32 cause 0x8002801c error

I have created simple BHO with ATL using these instructions http://msdn.microsoft.com/en-us/library/bb250489(v=vs.85).aspx. I am creating both 64 bit and 32 bit dll of the dll. The problem happens when I try to to unregistered the 64 bit dll after the 32 bit version using regsvr32, I am getting 0x8002801c error. (If [...] read more
dll
com
32bit-64bit
atl
regsvr32
1vote
1answer

Crystal Report 10 with vb 6

I have Crystal report 10 I try to use the Crystal Activex Report Viewer Library 10 (CRViewer.dll) but : -in Visual Basic 6.0 IDE i obtain the errore "error accessing the system registry" -using regsvr32 "C:\programmi\Business Objects\Common \3.5\crystalreportviewers10\ActiveXControls\CRViewer.dll" i obtain the error 0x8002801c (...problem with registry...) read more
vb6
1vote
2answers

CComModule UnregisterServer error?

I have a CComModule that is calling RegisterServer (TRUE) on DllRegisterServer and UnregisterServer (TRUE) on DllUnregisterServer. The UnregisterServer is getting a 0x8002801C (Error accessing the OLE registry.) error and leaving around registery keys. I am using a Windows Server 2k8 R2 machine with UAC enabled. The components are x86 and [...] read more
c++
com
winapi
0votes
1answer

Adding a tabpage control to a Progress-4GL Windows application yields a license problem while working with ActiveX

I'm creating an OpenEdge Progress-4GL application, based on a window, where I like to add a tabpage. In order to do this (as there is no tab page control in the palette), I've tried to add the OCX (ActiveX) control "Microsoft TabStrip Control, version 5.0 (SP2)". However, when I try [...] read more
visual-studio
activex
openedge
progress-4gl
tabpage
0votes
1answer

Issues accessing dialog from resource view

Ok, I have a Microsoft StatusBar ActiveX control (SP6) within a dialog and for some reason recently when i attempt to access the dialog an error is thrown... The error is "The ActiveX Control "Microsoft StatusBar Control 6.0 (SP6) is not registered on this computer. Register the control and try [...] read more
c++
visual-studio
activex
msdn
activexobject
0votes
2answers

How can I create a COM object for register as limited user?

I am creating a project in vs2010, it is intended to be installed per-user but I need to include a COM object (in a dll, I'm using ATL). The thing is I can only make the DLL register with admin privileges, but my installer doesn't require admin privileges and the [...] read more
com
atl
0votes
1answer

Scanning COM dll registry without admin privileges

I'm trying to create a program that scans a COM dll and creates a reg file of the necessary registry keys, without having to call regsvr32 and without having to have administrative permissions. To do that, I'm using RegOverridePredefKey to remap the windows registry hives inside a subkey of HKEY_CURRENT_USER. [...] read more
wix
registry
regsvr32
heat
0votes
1answer

Registering mozctlx.dll failed

I'm trying to install Mozilla ActiveX Control v1.7.12. In the folder where the DLL resides I execute regsvr32 mozctlx.dll but this fails. I get an error message DllRegisterServer in mozctlx.dll failed Return code was: 0x8002801c I already tried an other version of the DLL, but no avail. Any ideas? TIA [...] read more
regsvr32

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0