|
| 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) |
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
|
|
|
| |
|
|
| |
| |
| Paul Glavich [MVP - ASP.NET] (VIP) |
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]
|
|
|
| |
|
|
| |
|
| |
| ranjit_rajan_menon@hotmail.com |
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...
|
|
|
| |
|
|
| |
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|