Skip to main content
Dev Corner > Blogs > Dev Corner Blog > Posts > Commerce Server Issue with Virtual Servers

e.magination Dev Corner Blog

Commerce Server Issue with Virtual Servers
Recently a little known issue was discovered when I was attempting to install and configure Microsoft Commerce Server 2007. I was able to install fine but experienced issues when going through the Configuration Wizard. The error (see highlighted section from Configuration Wizard's log file below) had to deal with registering assemblies needed by Commerce Server.
 
I contacted Microsoft Support and found that there is an issue with Commerce Server on virtual servers created from images. This was exactly what I was dealing with because the server was a VMware virtual server created from an image.
 
To resolve this issue, a new virtual server was created and the operating system was installed manually.
 
 
PROBLEM:
Commerce Server 2007 fails to be configured properly on a virtual server created from an image.
RESOLUTION:
Create new virtual server and manually install the operating system.
DETAILS:
 
The following is the log from the Configuration Wizard :

[09:48:15 INFO] Database 'MSCS_Admin' exists on server 'G4SQL'
[09:48:15 INFO] The ComparisonStyle for Database 'MSCS_Admin' is 196609
[09:48:16 INFO] Creating Library COM+ Application 'Commerce Server Config (32 bit)'
[09:48:16 INFO] Installing components from 'C:\Program Files (x86)\Microsoft Commerce Server 2007\MSCSCfg.dll' into COM+ Application 'Commerce Server Config (32 bit)'
[09:48:18 INFO] Registering serviced components from assembly 'C:\Program Files (x86)\Microsoft Commerce Server 2007\Assemblies\Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll' under application 'Commerce Server Config'
[09:48:20 ERROR] CSConfig failed during configuration of feature Administration Database (Feature.MS.CS.Admin).
[09:48:20 ERROR] Exception occured during feature configuration: Microsoft.CommerceServer.Internal.Config.ConfigurationException: Failed to generate type library 'C:\Program Files (x86)\Microsoft Commerce Server 2007\Assemblies\Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.tlb' for 'Microsoft.CommerceServer.Interop.Configuration.MSCSCfg, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> System.EnterpriseServices.RegistrationException: Failed to generate type library 'C:\Program Files (x86)\Microsoft Commerce Server 2007\Assemblies\Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.tlb' for 'Microsoft.CommerceServer.Interop.Configuration.MSCSCfg, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> System.Runtime.InteropServices.COMException (0x80131163): Type library exporter encountered an error while processing 'Microsoft.CommerceServer.Interop.Configuration.IGlobalConfig.get_Fields(#0), Microsoft.CommerceServer.Interop.Configuration.MSCSCfg'. Error: Referenced type is defined in managed component, which is imported from a type library that could not be loaded (type: 'ADODB.Fields'; component: 'C:\WINDOWS\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\ADODB.dll').
   at System.Runtime.InteropServices.TypeLibConverter.nConvertAssemblyToTypeLib(Assembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink)
   at System.Runtime.InteropServices.TypeLibConverter.ConvertAssemblyToTypeLib(Assembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink)
   at System.EnterpriseServices.RegistrationDriver.GenerateTypeLibrary(Assembly asm, String tlb, Report report)
   --- End of inner exception stack trace ---
   at System.EnterpriseServices.RegistrationThreadWrapper.PropInstallResult()
   at System.EnterpriseServices.RegistrationHelper.InstallAssemblyFromConfig(RegistrationConfig& regConfig)
   at Microsoft.CommerceServer.Internal.Config.NativeComPlusApplication.CreateApplicationForAssembly(String applicationName, Guid assemblyComponentGuid)
   --- End of inner exception stack trace ---
   at Microsoft.CommerceServer.Internal.Config.NativeComPlusApplication.CreateApplicationForAssembly(String applicationName, Guid assemblyComponentGuid)
   at Microsoft.CommerceServer.Internal.Config.AdminConfig.ConfigureDotNetSiteConfig()
   at Microsoft.CommerceServer.Internal.Config.AdminConfig.Configure()
   at Microsoft.CommerceServer.Internal.Config.ConfigurationDriver.ConfigureHelper(List`1 orderedListOfFeatures).
[09:48:20 INFO] Exception was non-fatal. Beginning rollback.
[09:49:23 INFO] Beginning unconfiguration of feature Administration Database (Feature.MS.CS.Admin).
[09:49:23 INFO] Deleting existing COM+ Application 'Commerce Server Config (32 bit)'
[09:49:24 INFO] Completed unconfiguration of feature Administration Database (Feature.MS.CS.Admin).

 
Commerce Server Issue with Virtual Servers - Dev Corner Blog
Go Search
Other Blogs
There are no items in this list.