msmq distributor install exception

Jul 21, 2015 at 4:46 PM
Hi,

I am trying to install MsmqDistributor.exe, which included in the download for EL6. but I am getting this exception below. What do I need to do to install MsmqDistributor.exe? I want to write the logs using msmq to DB and event logs, etc.

I tried to install the MsmqDistributor.exe from EL 5, but I have problem running it.

Thanks much for the help!

Exception install EL6 MsmqDistributor.exe
An exception occurred while trying to find the installers in the C:\EntLib\MsmqD
istributor.exe assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the
requested types. Retrieve the LoaderExceptions property for more information.
Aborting installation for C:\EntLib\MsmqDistributor.exe.

An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the C:\EntLib
\MsmqDistributor.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was thrown wit
h the following error message: Unable to load one or more of the requested types
. Retrieve the LoaderExceptions property for more information..

The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\EntLib\MsmqDistributor.exe assembly'
s progress.
The file is located at C:\EntLib\MsmqDistributor.InstallLog.
Rolling back assembly 'C:\EntLib\MsmqDistributor.exe'.
Affected parameters are:
logtoconsole =
logfile = C:\EntLib\MsmqDistributor.InstallLog
assemblypath = C:\EntLib\MsmqDistributor.exe
An exception occurred while trying to find the installers in the C:\EntLib\MsmqD
istributor.exe assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the
requested types. Retrieve the LoaderExceptions property for more information.
Aborting installation for C:\EntLib\MsmqDistributor.exe.
An exception occurred during the Rollback phase of the System.Configuration.Inst
all.AssemblyInstaller installer.
System.InvalidOperationException: Unable to get installer types in the C:\EntLib
\MsmqDistributor.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was thrown wit
h the following error message: Unable to load one or more of the requested types
. Retrieve the LoaderExceptions property for more information..
An exception occurred during the Rollback phase of the installation. This except
ion will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.

Running EL 5 msmq distributor exception:
The description for Event ID 0 from source Enterprise Library Distributor Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

An error occurred while starting the service Enterprise Library Logging Distributor Service.
See 'Summary for Enterprise Library Logging Distributor Service' and additional 'Exception Information Details' below for more information. The service needs to be stopped.

Summary for Enterprise Library Distributor Service:

--> The Windows service initialization sequence has started.
--> MachineName: DEVCLE-007
--> TimeStamp: 7/21/2015 3:01:46 PM
--> FullName: Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
--> AppDomainName: MsmqDistributor.exe
--> WindowsIdentity: DEVCLE-007\appacct

Exception Information Details:

Exception Type: System.Configuration.ConfigurationErrorsException
Message: An error occurred creating the configuration section handler for loggingConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (C:\Program Files (x86)\MicrosoftEnterpriseLibrary5\Bin\MsmqDistributor.exe.Config line 9)
BareMessage: An error occurred creating the configuration section handler for loggingConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Filename: C:\Program Files (x86)\MicrosoftEnterpriseLibrary5\Bin\MsmqDistributor.exe.Config
Line: 9
Errors: System.Configuration.ConfigurationException[]
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object EvaluateOne(System.String[], System.Configuration.SectionInput, Boolean, System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object)
HelpLink: NULL
Source: System.Configuration

StackTrace Information Details:

at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.SystemConfigurationSource.DoGetSection(String sectionName) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\SystemConfigurationSource.cs:line 120
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileBasedConfigurationSource.GetSection(String sectionName) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\FileBasedConfigurationSource.cs:line 103
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ConfigSectionLocator.GetRegistrationsInternal(IConfigurationSource configurationSource, Func3 registrationsAccessor) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\ContainerModel\ConfigSectionLocator.cs:line 81
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.CompositeTypeRegistrationsProviderLocator.<GetRegistrations>b__0(ITypeRegistrationsProvider l, IConfigurationSource cs) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\ContainerModel\TypeRegistrationsProvider.cs:line 128
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.CompositeTypeRegistrationsProviderLocator.<>c__DisplayClass5.<GetRegistrationsInternal>b__4(ITypeRegistrationsProvider l) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\ContainerModel\TypeRegistrationsProvider.cs:line 147
at System.Linq.Enumerable.<SelectManyIterator>d__14
2.MoveNext()
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.Unity.UnityContainerConfigurator.RegisterAllCore(IConfigurationSource configurationSource, ITypeRegistrationsProvider rootProvider) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\ContainerModel\Unity\UnityContainerConfigurator.cs:line 61
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ChangeTrackingContainerConfigurator.RegisterAll(IConfigurationSource configurationSource, ITypeRegistrationsProvider rootProvider) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\ContainerModel\ChangeTrackingContainerConfigurator.cs:line 68
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.ConfigureContainer(IContainerConfigurator configurator, IConfigurationSource configSource) in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\EnterpriseLibraryContainer.cs:line 62
at Microsoft.Practices.Unity.UnityContainer.AddExtension(UnityContainerExtension extension) in e:\Builds\Unity\UnityTemp\Compile\Unity\Unity\Src\UnityContainer.cs:line 345
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Unity.EnterpriseLibraryBlockExtension.Initialize() in e:\Builds\EntLib\Latest\Source\Blocks\Common\Src\Configuration\Unity\EnterpriseLibraryBlockExtension.cs:line 29
at Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Unity.ValidationBlockExtension.Initialize() in e:\Builds\EntLib\Latest\Source\Blocks\Validation\Src\Validation\Configuration\Unity\ValidationBlockExtension.cs:line 36
at Microsoft.Practices.Unity.UnityContainer.AddExtension(UnityContainerExtension extension) in e:\Builds\Unity\UnityTemp\Compile\Unity\Unity\Src\UnityContainer.cs:line 345
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.Unity.UnityContainerConfigurator.AddValidationExtens