Hello Everybody,
Please be cautious when applying windows update to Metastorm Servers.
I applied the most recent updates from Microsoft today and the engine refuses to start. I get the following error message in the event viewer.
The .NET database connector failed to initialize: System.TypeLoadException: Could not load type 'System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.ServiceModel.TcpTransportSecurity..ctor()
at System.ServiceModel.NetTcpSecurity..ctor()
at System.ServiceModel.NetTcpBinding..ctor()
at Metastorm.Engine.Authentication.AuthenticationHosting.LoadAuthenticationService()
at ManagedConfiguration.StartCoreServices(HStatus* ).
I suspect KB982168 and/or KB979909 the root cause of it.
Along with the engine I noticed following issues -
1) The designer fails to load a project that has a connection object of type "webservice" in it and throws following exception
System.Configuration.ConfigurationErrorsException was unhandled
Message="An error occurred creating the configuration section handler for system.serviceModel/bindings: Could not load type 'System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. (D:\\Program Files\\Metastorm\\BPM\\Designer\\Designer.exe.Config line 8)"
Source="System.Configuration"
BareMessage="An error occurred creating the configuration section handler for system.serviceModel/bindings: Could not load type 'System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
Filename="D:\\Program Files\\Metastorm\\BPM\\Designer\\Designer.exe.Config"
Line=8
StackTrace:
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, Boolean getLkg, Boolean checkPermission)
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 System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetSectionFromConfigurationManager(String sectionPath)
at System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(ContextInformation evalContext, String sectionPath)
at System.ServiceModel.Configuration.ClientSection.UnsafeGetSection()
at System.ServiceModel.Description.MetadataImporter..ctor(IEnumerable`1 policyImportExtensions, MetadataImporterQuotas quotas)
at System.ServiceModel.Description.WsdlImporter..ctor(MetadataSet metadata, IEnumerable`1 policyImportExtensions, IEnumerable`1 wsdlImportExtensions, MetadataImporterQuotas quotas)
at System.ServiceModel.Description.WsdlImporter..ctor(MetadataSet metadata)
at WcfSamples.DynamicProxy.DynamicProxyFactory.ImportMetadata()
at WcfSamples.DynamicProxy.DynamicProxyFactory..ctor(ICollection documents, DynamicProxyFactoryOptions options)
at Metastorm.Designer.Mbo.WCFConnectionCodeData..ctor(MboConnection connection, FormatModeOptions formatModeOption)
at Metastorm.Designer.Mbo.MboConnectionCodeProvider.GetWebServiceMboConnectionClass(MboConnection connection)
at Metastorm.Designer.Mbo.MboConnectionCodeProvider.GetCsCode(Type type, MboConnection connection)
at Metastorm.Ide.Core.Apis.CodeObjectProvider`1.GetCodeObject(Type type, T source, String language)
at Metastorm.Ide.Core.Apis.CodeObjectProvider`1.GetCodeObject(Type type, Object source, String language)
at Metastorm.Ide.Core.Apis.CodeObjectProviderExtensions.GetCodeObject[T](ICodeObjectProvider provider, Object source, String language)
at Metastorm.Designer.Projects.BaseProjectCodeObjectProvider`1.GetProjectUnit(String nameSpace, BaseProject project, String language)
at Metastorm.Designer.Projects.BaseProjectCodeObjectProvider`1.GetCodeObjectGeneric(Type type, T project, String language, Boolean generateProjectUnit, String nameSpace)
at Metastorm.Designer.Projects.BaseProjectCodeObjectProvider`1.<.ctor>b__0(Type t, T p)
at Metastorm.Ide.Core.Apis.CodeObjectProvider`1.GetCodeObject(Type type, T source, String language)
at Metastorm.Ide.Core.Apis.CodeObjectProvider`1.GetCodeObject(Type type, Object source, String language)
at Metastorm.Ide.Core.Apis.CodeObjectProviderExtensions.GetCodeObject[T](ICodeObjectProvider provider, Object source, String language)
at Metastorm.Ide.Core.Apis.CodeFactory.GetCodeCompileUnit(Object source, String language)
at Metastorm.Designer.Projects.ApiModelProvider.Build(Object source, String basePath)
at Metastorm.Ide.Core.Apis.BuildManager.ThreadedBuild()
at Metastorm.Ide.Core.Apis.BuildManager.BuilderLoop()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.TypeLoadException
Message="Could not load type 'System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
Source="System.ServiceModel"
TypeName="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement"
StackTrace:
at System.ServiceModel.Configuration.WSHttpTransportSecurityElement.get_Properties()
at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)
at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)
at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)
at System.Configuration.ConfigurationElementCollection.OnDeserializeUnrecognizedElement(String elementName, XmlReader reader)
at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)
at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)
at System.Configuration.ConfigurationSection.DeserializeSection(XmlReader reader)
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionImpl(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)
at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSection(Boolean inputIsTrusted, RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)
at System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)
at System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader, String filename, Int32 line)
InnerException:
2) The administration website fails to load and gives following error
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred creating the configuration section handler for system.serviceModel/bindings: Could not load type 'System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source Error:
Line 169:
Line 170: <system.serviceModel>
Line 171:
Line 172:
Line 173:
I have opened a ticket with support and also researching the issue.
Thanks & regards
Sandeep