We have GP 2010 installed on a W2012 server.eConnect installed succesfully and is set to use a local admin account. Whenever any data is attempted to be pushed into GP we immediately get this message. It is trying to create they registry keys but is not able to do so. Given that it is a local admin account it has full righjts to the registry. Any ideas how we can get past this?
Dynamics Error : System.EnterpriseServices.RegistrationException: You must have administrative credentials to perform this task. Contact your system administrator for assistance. ---> System.EnterpriseServices.RegistrationException: Failed to register assembly 'Microsoft.Dynamics.GP.eConnect, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> System.UnauthorizedAccessException: Access to the registry key 'HKEY_CLASSES_ROOT\Microsoft.Dynamics.GP.eConnect.eConnectInternalMiscMethods' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)
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)
--- End of inner exception stack trace ---
at System.EnterpriseServices.RegistrationDriver.ClassicRegistration(Assembly asm)
at System.EnterpriseServices.RegistrationDriver.InstallAssembly(RegistrationConfig regConfig, Object obSync)
--- End of inner exception stack trace ---
at System.EnterpriseServices.RegistrationDriver.InstallAssembly(RegistrationConfig regConfig, Object obSync)
at System.EnterpriseServices.RegistrationHelper.InstallAssemblyFromConfig(RegistrationConfig& regConfig)
at System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String partition, String& tlb, InstallationFlags installFlags)
at System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String& tlb, InstallationFlags installFlags)
at System.EnterpriseServices.RegistrationHelper.System.EnterpriseServices.Thunk.IThunkInstallation.DefaultInstall(String asm)
at System.EnterpriseServices.Thunk.Proxy.RegisterAssembly(Assembly assembly)
at System.EnterpriseServices.Thunk.Proxy.LazyRegister(Guid id, Type serverType, Boolean checkCache)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at MerchNow.Dynamics.Services.OrderService.PostEConnectDocument(String documentText)
at MerchNow.Dynamics.Controllers.OrdersController.Create()
*This post is locked for comments
I notice it says econnect version 10.0.0.0 in the message and you highlight that you are using GP2010 (v11).
Shouldn't the product version be 11.0.0.0?
Does the path 'HKEY_CLASSES_ROOT\Microsoft.Dynamics.GP.eConnect.eConnectInternalMiscMethods' even exist in the registry?
Is this for a system you have upgraded were the past version used eConnect 10.0?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156