Troubleshoot Installation Issues with the Siebel adapter
The Microsoft BizTalk Adapter Pack installation copies the product binaries on the computer and registers the bindings for each adapter. This section discusses troubleshooting techniques to resolve installation errors.
Setup Logging
The BizTalk Adapter Pack setup program performs the standard task of installing the BizTalk Adapter Pack. Additionally, the setup also performs certain custom actions such as registering the adapter bindings. You can log messages for both the standard as well as custom actions performed by the setup.
The BizTalk Adapter Pack setup installs the adapter specific files using an MSI. Hence, the logging for the setup will be the standard MSI logging.
Logs for the custom actions performed by the setup program are available at %TEMP%\adaptersetup.log. If the tracing to the log file fails, the traces are also available in the event log.
Known Issues
Setup fails to register adapter bindings
Problem
The Microsoft BizTalk Adapter Pack setup wizard fails to register the Siebel adapter binding or the Data Provider for Siebel, but proceeds with the adapter installation.
Cause
This might result due to problems with WCF installation, Microsoft Windows Communication Foundation (WCF) Line of Business (LOB) Adapter SDK installation, or the machine.config being corrupt. The adapter bindings are written to the machine.config file.
Resolution
Manually register the Siebel adapter binding and Data Provider for Siebel using the following steps:
Navigate to the machine.config file on the computer. For example, on a 32-bit platform, the machine.config is available under <system drive>:\WINDOWS\Microsoft.NET\Framework\<version>\CONFIG.
In this path, <version> is the version of the .NET Framework.
Open the file using a text editor.
To register the Siebel adapter binding:
Search for the element "system.serviceModel" and add the following under it:
<client> <endpoint binding="siebelBinding" contract="IMetadataExchange" name="siebel" /> </client>
Search for the element "bindingElementExtensions" under system.serviceModel\extensions.
Look for the missing Siebel adapter binding. Add the following section under the "bindingElementExtensions" node.
For Siebel adapter, add:
<add name="siebelAdapter" type="Microsoft.Adapters.Siebel.SiebelAdapterExtensionElement,Microsoft.Adapters.Siebel, Version=<version>, Culture=neutral, PublicKeyToken=<public key>" />
Search for the element "bindingExtensions" under system.serviceModel\extensions.
Look for the missing Siebel adapter binding. Add the following sections under the "bindingExtensions" node.
For Siebel adapter, add:
<add name="siebelBinding" type="Microsoft.Adapters.Siebel.SiebelAdapterBindingSection,Microsoft.Adapters.Siebel, Version=<version>, Culture=neutral, PublicKeyToken=<public key>" />
Note
For information about how to determine the public key, see Determining the Public Key and Version.
To register the Data Provider for Siebel:
Search for the element DbProviderFactories under the system.data node.
Look for the missing Data Provider for Siebel. Add the following section under the DbProviderFactories node.
For Data Provider for Siebel, add:
<add name="SiebelClient Data Provider" invariant="Microsoft.Data.SiebelClient" description=".NET Framework Data Provider for Siebel eBusiness Applications" type="Microsoft.Data.SiebelClient.SiebelProviderFactory,Microsoft.Data.SiebelClient, Version=<version>, Culture=neutral, PublicKeyToken=<public key>" />
Save and close the machine.config file.
Determining the Public Key and Version
Perform the following steps to determine the public key for Siebel adapter or Data Provider for Siebel.
To determine the public key
Navigate to the Windows directory, typically C:\WINDOWS\assembly.
Right-click the DLL for which you want the public key and select Properties. The following table lists the name of the DLLs for each adapter and provider.
Adapter/ADO Provider Name of the DLL Siebel adapter Microsoft.Adapters.Siebel Data Provider for Siebel Microsoft.Data.SiebelClient On the General tab, the value against the Public Key Token label specifies the public key for the DLL. Similarly, value against the Version label specifies the version number for the DLL.
Copy the public key, and then click Cancel.