Topaz Filer - Email filing software
COM + Register Error
Messages   Related Types
This message was discovered on microsoft.public.dotnet.distributed_apps.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Boomessh (VIP)
GOOD ANSWER
Hai all,
can any one help me in solving he following problem?

I am registering a COM+ component in a machine. While registering i am getting the following error.

************************************************************
System.EnterpriseServices.RegistrationException: Failed to register assembly 'LR.Server.TransactionManager, Version=1.0.0.1, Culture=neutral, PublicKeyToken=e0e8e60ed826fed8'. ---> System.UnauthorizedAccessException: Access to the registry key HKEY_CLASSES_ROOT\Component Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29} is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at System.Runtime.InteropServices.RegistrationServices.EnsureManagedCategoryExists()
at System.Runtime.InteropServices.RegistrationServices.RegisterManagedType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion)
at System.Runtime.InteropServices.RegistrationServices.RegisterAssembly(Assembly assembly, AssemblyRegistrationFlags flags)
at System.EnterpriseServices.RegistrationDriver.ClassicRegistration(Assembly asm)

************************************************************

I am pasting the same error as viewed in the Event Viewer. As i am new to this, i am unable to track it.

Also i am using the following at the VS.NET Command Prompt.

"REGSVCS /C LR.Server.TransactionManager.dll"

Why is that happening, is there any precaution to be taken. Please guide me.

Thanks ,
V.Boomessh

Reply to this message...
Vote that this is a GOOD answer... (5 votes from other users already)
 
 
    
Paul Glavich [MVP - ASP.NET] (VIP)
GOOD ANSWER
Are you an administrator on your machine? Obviously its an access issue to
the registry key specified in the error text.

--
- Paul Glavich
Microsoft MVP - ASP.NET

"Boomessh" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

PublicKeyToken=e0e8e60ed826fed8'. ---> System.UnauthorizedAccessException:
Access to the registry key HKEY_CLASSES_ROOT\Component
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29} is denied.
[Original message clipped]

sts()
> at
System.Runtime.InteropServices.RegistrationServices.RegisterManagedType(Type
type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String
strRuntimeVersion)
> at
System.Runtime.InteropServices.RegistrationServices.RegisterAssembly(Assembl
y assembly, AssemblyRegistrationFlags flags)
> at
System.EnterpriseServices.RegistrationDriver.ClassicRegistration(Assembly
asm)
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer... (4 votes from other users already)
 
 
    
ranjit_rajan_menon@hotmail.com
GOOD ANSWER
Go to component Services and change it to a server package. It might help

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Reply to this message...
Vote that this is a GOOD answer... (3 votes from other users already)
 
 
 
Microsoft.Win32.RegistryKey
System.EnterpriseServices.RegistrationException
System.Runtime.InteropServices.AssemblyRegistrationFlags
System.Runtime.InteropServices.RegistrationServices
System.UnauthorizedAccessException




Ad
BootFX
Reliable and powerful .NET application framework.
Looking to invest in a major software project? Technical and commercial advice available here.
Other Helpful Sites
MBR 247
Topaz Filer
SharePoint Email Filing
Software Advisory Services
 
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734