Weird Windows Installer Resiliency Problem

I've noticed on system startup the Windows Installer resiliency functionality kicks in on the Commerce Server 2007 MSI:

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop', component '{1B0028F3-E0BA-4CF1-A201-259A640881EC}' failed. The resource '' does not exist.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'

I've look at the package using Orca and the component looks fine. Has anyone else seen this?

Cheers,
Colin

[2156 byte] By [ColinBowern] at [2007-12-27]
# 1

Yes I have. In fact another product that I have installed (DHL EasyShip Connect...a shipping tool from DHL) effectively breaks when CS 2007 is installed. When I start EasyShip those two events are recorded over and over until I shut down Windows. It looks like CS2007 has incorrectly advertised the component.

I am so glad you mentioned this. I posted something on the ng back during the beta but it was ignored (probably because I did not explain it well). Now that you have noticed as well I'm hoping it gets more attention.

AndyMiller at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 2

Interestingly, the failing component {1B0028F3-E0BA-4CF1-A201-259A640881EC} (AspInstrinsics.dll in the GAC) has a namesake {FFE81BFE-7197-42BB-BBFE-6F9D9C7DAFDE} (AspInstrinsics.dll) installed in Microsoft Commerce Server 2007\Internal Assemblies. And the one in Internal Assemblies is the only assembly in that directory.

And they are different versions. Actually that might be the problem. Take a look at the msi File table using Orca. Files AspIntrinstrics.dll (the namesake) and AspIntrinsics.dll.GAC (the failing component). Both are listed with version 6.0.3724.0, but the actual file in the GAC is 6.0.1.0.

I read in the comments to this blog entry,

http://blogs.msdn.com/astebner/archive/2005/01/13/352649.aspx

that the version of the file can lead to a "request of null", which I'm guessing might be the "The resource '' does not exist."

AndyMiller at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 3

Hey Andy,

The versions you are seeing are correct:

[assembly: AssemblyVersion("6.0.1.0")]

[assembly: CompilationRelaxations(8)]

[assembly: RuntimeCompatibility(WrapNonExceptionThrows=true)]

[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]

[assembly: AssemblyConfiguration("")]

[assembly: AssemblyDescription("Microsoft Commerce Server ASP.NET Interop")]

[assembly: AssemblyTitle("Microsoft Commerce Server ASP.NET Interop")]

[assembly: AssemblyTrademark("")]

[assembly: AssemblyCopyright("Copyright (C) Microsoft Corporation. All rights reserved.")]

[assembly: AssemblyProduct("Microsoft Commerce Server 2007")]

[assembly: AssemblyCompany("Microsoft Corporation")]

[assembly: AssemblyFileVersion("6.0.3724.0")]

AssemblyVersion is the binding version as far as the .NET Framework is concerned which is probably why you see it as 6.0.1.0 in the GAC. But I think you might be on to something where the version number differences may be confusing the resiliency features to think that an older version has replaced the file it is looking for.

Can anyone from the product group comment on this (and/or ping the internal Windows Installer DL for comment)?

Cheers,
Colin

ColinBowern at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 4

I getting the errors when I install UPS WorldShip 9.0. There are actually 5 events in a row. They repeat several times.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date: 11/23/2006
Time: 12:33:54 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop', component '{1B0028F3-E0BA-4CF1-A201-259A640881EC}' failed. The resource '' does not exist.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 11/23/2006
Time: 12:33:54 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'

Event Type: Information
Event Source: MsiInstaller
Event Category: None
Event ID: 11728
Date: 11/23/2006
Time: 12:34:57 PM
Description:
Product: Microsoft Commerce Server 2007 Developer Edition -- Configuration completed successfully.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 11/23/2006
Time: 12:34:57 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'

Event Type: Information
Event Source: Commerce Server
Event Category: None
Event ID: 28676
Date: 11/23/2006
Time: 12:34:57 PM
Description:
CSPerfCounters Component : Error - 'Initializing Admin Object'

Event Type: Error
Event Source: Commerce Server
Event Category: None
Event ID: 28673
Date: 11/23/2006
Time: 12:34:57 PM
Description:
CSPerfCounters Component : Failed to create - 'Init from registry.'

AndyMiller at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 5

It is possible that there is some component conflict between the two products.

You can try repairing the Commerce Server installation using:

msiexec /famus {79069318-A3E1-46C7-BF37-512FA9CAAFBB} MSIUI=1 /l*vx repair.log

In the log file that is created during the repair, look for the feature 'Feature.MS.CS.Interop' and the component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'. You may be able to find some additional details about the error.

The other possibility (from looking at the other event log entries) is that the UPS Worldship product is trying to load the Commerce Server performance counters. I dont know why it would do this. Perhaps that products installer has some custom actions that do this (MSI wont load/modify performance counters natively).

madhur-MSFT at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 6

I repaired the installation using the command line you suggested. Both "Feature.MS.CS.Interop" and "{0913EFD4-967F-4B7D-89F6-5D65D21A0464}" appear many times in the log, but no errors were recorded in the log file of any kind.

DHL EasyShip Connect (another shipping software product coincidentally) also causes similar events to be recorded in the Event Log. So after running the repair and restarting (the installer wanted a restart), I launched DHL EasyShip Connect. The following events were recorded:

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date: 12/11/2006
Time: 5:29:19 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop', component '{1B0028F3-E0BA-4CF1-A201-259A640881EC}' failed. The resource '' does not exist.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 12/11/2006
Time: 5:29:19 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'

Event Type: Information
Event Source: MsiInstaller
Event Category: None
Event ID: 11728
Date: 12/11/2006
Time: 5:30:54 PM
Description:
Product: Microsoft Commerce Server 2007 Developer Edition -- Configuration completed successfully.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date: 12/11/2006
Time: 5:30:54 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop', component '{1B0028F3-E0BA-4CF1-A201-259A640881EC}' failed. The resource '' does not exist.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 12/11/2006
Time: 5:30:54 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'

Event Type: Information
Event Source: MsiInstaller
Event Category: None
Event ID: 11728
Date: 12/11/2006
Time: 5:31:55 PM
Description:
Product: Microsoft Commerce Server 2007 Developer Edition -- Configuration completed successfully.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 12/11/2006
Time: 5:31:55 PM
Description:
Detection of product '{79069318-A3E1-46C7-BF37-512FA9CAAFBB}', feature 'Feature.MS.CS.Interop' failed during request for component '{0913EFD4-967F-4B7D-89F6-5D65D21A0464}'

Event Type: Information
Event Source: Commerce Server
Event Category: None
Event ID: 28676
Date: 12/11/2006
Time: 5:31:55 PM
User: N/A
Description:
CSPerfCounters Component : Error - 'Initializing Admin Object'

Event Type: Error
Event Source: Commerce Server
Event Category: None
Event ID: 28673
Date: 12/11/2006
Time: 5:31:55 PM
User: N/A
Description:
CSPerfCounters Component : Failed to create - 'Init from registry.'

This sequence of events was repeating, apparently forever and DHL EasyShip Connect never appeared. After letting this run for about 10 minutes (which generated 6+ iterations of the sequence above) I could not shutdown and had to power off the computer.

If I run DHL EasyShip Connect in a VM without Commerce Service it works fine.

DHL EasyShip Connect is free from DHL if you want to see it for yourself...or I could send you a copy.

AndyMiller at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...