当我从Sitecore桌面点击Sitecore Azure模块时,我收到了错误消息。我安装了Sitecore SDK 2.9
实例验证错误:'2014-06.2.4'不是SchemaVersion的有效值。
描述:执行当前Web请求期间发生了未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
异常详细信息:System.InvalidOperationException:实例验证错误:'2014-06.2.4'不是SchemaVersion的有效值。
来源错误:
在执行当前Web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息。
堆栈追踪:
[InvalidOperationException:实例验证错误:'2014-06.2.4'不是SchemaVersion的有效值。 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderServiceDefinition.Read68_SchemaVersion(String s)+123 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderServiceDefinition.Read71_ServiceDefinition(Boolean isNullable,Boolean checkType)+585 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderServiceDefinition.Read72_ServiceDefinition()+116
[InvalidOperationException:XML文档中存在错误(2,147)。] System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,String encodingStyle,XmlDeserializationEvents事件)+857 System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)+159 Sitecore.Azure.Deployments.AzureDeployments.Deployment.LoadData()+568 Sitecore.Azure.Deployments.AzureDeployments.AzureDeployment.LoadData()+17 Sitecore.Azure.Deployments.AzureEntity..ctor(AzureEntity parentNode,Item storeItem)+196 Sitecore.Azure.Deployments.AzureDeployments.ContentDeliveryDeployment..ctor(WebRole parentNode,DeploymentItem item)+30 Sitecore.Azure.Deployments.EntitiesFactory.Create(Item item,AzureEntity parent)+2431 Sitecore.Azure.Deployments.AzureEntity..ctor(AzureEntity parentNode,Item storeItem)+334 Sitecore.Azure.Deployments.EntitiesFactory.Create(Item item,AzureEntity parent)+1581 Sitecore.Azure.Deployments.AzureEntity..ctor(AzureEntity parentNode,Item storeItem)+334 Sitecore.Azure.Deployments.EntitiesFactory.Create(Item item,AzureEntity parent)+1464 Sitecore.Azure.Deployments.AzureEntity..ctor(AzureEntity parentNode,Item storeItem)+334 Sitecore.Azure.Deployments.EntitiesFactory.Create(Item item,AzureEntity parent)+1881 Sitecore.Azure.Deployments.AzureEntity..ctor(AzureEntity parentNode,Item storeItem)+334 Sitecore.Azure.Deployments.Environments.Environment..ctor(AzureEntity parentNode,EnvironmentDefinition environmentDefinition,EnvironmentItem item)+41 Sitecore.Azure.Deployments.EntitiesFactory.Create(Item item,AzureEntity parent)+2292 Sitecore.Azure.Deployments.AzureEntity..ctor(AzureEntity parentNode,Item storeItem)+334 Sitecore.Azure.Configuration.Settings.get_EnvironmentsRoot()+150 Sitecore.Azure.Managers.AzureManagers.TrafficProfilesManager.GetGlobalDomainURIs()+76 Sitecore.Azure.UI.Shell.Applications.Azure.AzureManagerForm.TrafficManagerInitialising(String environmnentType,DeploymentSlot slot,String& startupScript)+124 Sitecore.Azure.UI.Shell.Applications.Azure.AzureManagerForm.OnLoad(EventArgs e)+159
[TargetInvocationException:调用目标抛出了异常。] System.RuntimeMethodHandle.InvokeMethod(Object target,Object [] arguments,Signature sig,Boolean constructor)+0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,Object [] parameters,Object [] arguments)+128 System.Reflection.RuntimeMethodInfo.Invoke(Object obj,BindingFlags invokeAttr,Binder binder,Object []参数,CultureInfo文化)+146 Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo方法,Object []参数,Object obj)+89 Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e)+594 System.Web.UI.Control.LoadRecursive()+68 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)+4498
版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.6.1055.0
答案 0 :(得分:0)
通过在sitecore中搜索2014-06.2.4并将此值替换为2015-04.2.6
来解决此问题