AnsweredAssumed Answered

Cannot upgrade to SLM9 - 'overrideMode' attribute is not allowed

Question asked by Vic_H on Mar 4, 2020
Latest reply on Mar 5, 2020 by Vic_H

Trying to upgrade our 8.X version of SLM to 9+ but cannot get over the first hump, get the following error showing up in logs (rollback works fine, ignore last line of log copied)


I was advised to ensure overrideMode is set to allow in web.config file (this is already set)

But reading the error makes me think... it needs to not be set?

Do I remove the whole line 

<location path="api" overrideMode="Allow">

or change to Disallow instead?
any other advice?




2020-03-05 10:35:14,044 [InstallationWorker] ERROR SnowSoftware.Update.ProductUpdate [(null)] - An error occurred while executing instructions of v 9.0.00 for Snow License Manager Enterprise Edition (UR# 395). Beginning rollback.

2020-03-05 10:35:14,046 [InstallationWorker] ERROR SnowSoftware.Update.ProductUpdate [(null)] - The exception was:

System.Xml.Schema.XmlSchemaValidationException: The 'overrideMode' attribute is not allowed.

   at System.Xml.Schema.XNodeValidator.ValidationCallback(Object sender, ValidationEventArgs e)

   at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)

   at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)

   at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String localName, String namespaceUri, String attributeValue, XmlSchemaInfo schemaInfo)

   at System.Xml.Schema.XNodeValidator.ValidateAttribute(XAttribute a)

   at System.Xml.Schema.XNodeValidator.ValidateAttributes(XElement e)

   at System.Xml.Schema.XNodeValidator.ValidateElement(XElement e)

   at System.Xml.Schema.XNodeValidator.ValidateNodes(XElement e)

   at System.Xml.Schema.XNodeValidator.ValidateElement(XElement e)

   at System.Xml.Schema.XNodeValidator.Validate(XObject source, XmlSchemaObject partialValidationType, Boolean addSchemaInfo)

   at SnowSoftware.Update.Installation.ExtendConfigurationInstruction.ValidateConfiguration(XNode config)

   at SnowSoftware.Update.Installation.ExtendConfigurationInstruction.Execute(ProductUpdate update)

   at SnowSoftware.Update.ProductUpdate.Install()

2020-03-05 10:35:34,132 [InstallationWorker] ERROR SnowSoftware.Update.ProductUpdate [(null)] - An error occured during rollback.