RelayConfigurationInstaller.exe tool in Windows AppFabric v1.5 does not seem to be working

Locked RelayConfigurationInstaller.exe tool in Windows AppFabric v1.5 does not seem to be working

  • Saturday, September 17, 2011 12:08 PM
     
     
    Here is a message generated while running RelayConfigurationInstaller.exe tool shipped in Windows AppFabric v1.5. 
    C:\Program Files\Windows Azure AppFabric SDK\V1.5\Assemblies\NET4.0>RelayConfigu
    rationInstaller.exe /i
    RelayConfigurationInstaller.exe Error: System.Configuration.ConfigurationErrorsE
    xception: An error occurred creating the configuration section handler for syste
    m.serviceModel/extensions: Could not load file or assembly 'Microsoft.ServiceBus
    , Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of i
    ts dependencies. The located assembly's manifest definition does not match the a
    ssembly reference. (Exception from HRESULT: 0x80131040) (C:\Windows\Microsoft.NE
    T\Framework\v4.0.30319\Config\machine.config line 156) ---> System.IO.FileLoadEx
    ception: Could not load file or assembly 'Microsoft.ServiceBus, Version=1.0.0.0,
     Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. T
    he located assembly's manifest definition does not match the assembly reference.
     (Exception from HRESULT: 0x80131040)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError,
    Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Bool
    ean loadTypeFromPartialName, ObjectHandleOnStack type)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError,
    Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean l
    oadTypeFromPartialName)
       at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean
    ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError)
       at System.ServiceModel.Configuration.ExtensionElementCollection.EnforceUnique
    Element(ExtensionElement element)
       at System.ServiceModel.Configuration.ExtensionElementCollection.BaseAdd(Confi
    gurationElement element)
       at System.Configuration.ConfigurationElementCollection.OnDeserializeUnrecogni
    zedElement(String elementName, XmlReader reader)
       at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader rea
    der, Boolean serializeCollectionKey)
       at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader rea
    der, Boolean serializeCollectionKey)
       at System.Configuration.ConfigurationSection.DeserializeSection(XmlReader rea
    der)
       at System.Configuration.MgmtConfigurationRecord.CreateSection(Boolean inputIs
    Trusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parent
    Config, ConfigXmlReader reader)
       at System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inp
    utIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object pa
    rentConfig, ConfigXmlReader reader, String filename, Int32 line)
       --- End of inner exception stack trace ---
       at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, Se
    ctionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord
    sectionRecord, Object parentResult)
       at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factor
    yRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boole
    an getRuntimeObject, Object& result, Object& resultRuntimeObject)
       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String co
    nfigKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Bool
    ean requestIsHere, Object& result, Object& resultRuntimeObject)
       at System.Configuration.ConfigurationSectionCollection.Get(String name)
       at System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Extensions(
    )
       at Microsoft.ServiceBus.Configuration.RelayConfigurationInstaller.AddRelayCon
    figuration(Configuration configuration)
       at Microsoft.ServiceBus.Configuration.RelayConfigurationInstaller.Install(IDi
    ctionary stateSaver)
       at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
       at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedSt
    ate)
       at Microsoft.ServiceBus.Configuration.Program.Main(String[] args)
    Console output from install process (support information):

    preps2

All Replies

  • Monday, October 17, 2011 3:25 PM
     
     
    Were you able to figure this out?  I'm noticing the same thing.
  • Tuesday, October 18, 2011 12:36 PM
     
     
    Figured it out.  I'm still not totally sure why or how, but it appears that my machine.config file was messed up.  I replaced the machine.config file with the machine.config.default (renaming machine.config to machine.config.evil and copying machine.config.default to be machine.config).  After that, all seemed well in this crazy WCF magic foo world.  :)