Commerce Server 2007 BizTalk Adapters - Requested registry access is not allowed error

We have been using the commerce server adapters to create profiles system data in Commerce Server 2007 (build 6.0.3724.0). The version of Biztalk used is 2006 (build 3.5.1602.0). The BizTalk Commerce Server adapters is build 6.0.3724.0 as well. The OS is MS Windows Server 2003 R2, Enterprise x64 Edition, SP1

The send pipeline in BizTalk gives us an error as shown below.

Failed opening or reading the Registry subkey: Software\Microsoft\Commerce Server 2007 BizTalk Adapters\Profiles\ABCIncShopsendProfiles.Message: Requested registry access is not allowed..Stack trace:at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)

at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)

at Microsoft.CommerceServer.BizTalk.Adapters.CommonUtilities.WriteRegistryString(String keyPath, String keyToWrite, String value, String eventViewId, AdapterTraceProvider tracer).

Looking at the registry we find that under the subkey “Software\Microsoft” there is no key called “Commerce Server 2007 BizTalk Adapters”. Creating this and further keys to build the tree all the way up to “Software\Microsoft\Commerce Server 2007 BizTalk Adapters\Profiles\ABCIncShopsendProfiles” doesn’t seem to help. We also gave the whole tree “full control to everyone” level access to eliminate the possibility of access rights.

We notice however, that a "CommerceServer 2007 BizTalk Adapters"key does exist under a different tree (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Commerce Server 2007 BizTalk Adapters).

Any help would be greatly appreciated.

[3469 byte] By [SRao] at [2008-1-8]
# 1

Hey

Is your Biztalk Host instance running as a 64 bit process or a 32 bit process? What's your topology for your Biztalk environment - is it all one machine or do you have different host instances distributed across machines?

The Biztalk Administration MMC is running as a 32 bit process, so when you create the Send Port, the adapter will create the Registry Key in the WOW6432Node hive, if your BizTalk host instance is 64 bit, the adapter will attempt to read (and create if it doesn't exists), the subkey in the main Software\Microsoft\Commerce Server 2007 BizTalk Adapters\ hive. Can you confirm that the host instance account has access to the executing machine's non-Wow6432Node Software hive (check the machine that is running the host instance for that adapter)?

Let me know and hope this sheds some light.

Thanks

Alan

AlanF-MSFT at 2007-10-2 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 2

Reply Restart your host instance and run sql agent service (Its stopped )

there is nothing wrong in the installations and registry key.

If it does not work reinstall commerce server adapter

quicki at 2007-10-2 > top of Msdn Tech,Commerce Server,Commerce Server 2007...