任何wsp的安装都会失败,并显示以下消息:名称不能以''字符开头,十六进制值0x20 [英] Installing of any wsp fails with message: Name cannot begin with the ' ' character, hexadecimal value 0x20

查看:79
本文介绍了任何wsp的安装都会失败,并显示以下消息:名称不能以''字符开头,十六进制值0x20的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何WSP的安装失败,并显示以下消息:名称不能以''字符开头,十六进制值为0x20

Installation of any WSP fails with message: Name cannot begin with the ' ' character, hexadecimal value 0x20

11/14/2017 12:29:36.96 	vssphost5.exe (0xA36C)                  	0x044C	SharePoint Foundation         	General                       	8zoq	High    	Solution Deployment : Validation of cab failed for solution activateaccounts_2013.wsp. Exception info : Name cannot begin with the ' ' character, hexadecimal value 0x20. Line 1949, position 6.	 

甚至产品配置向导"都失败,并显示消息

Even Product Configuration Wizard fails with message

SharePoint Foundation Upgrade	SPUpgradeSession	ajxnm	ERROR	Upgrade [SPFarm Name=SharepointTSA_SharepointTSA_ConfigDB] failed.	00000000-0000-0000-0000-000000000000
11.15.2017 10:10:25.24	psconfigui (0x5528)	0x1140	SharePoint Foundation Upgrade	SPUpgradeSession	ajxnm	ERROR	Inner Exception: Name cannot begin with the ' ' character, hexadecimal value 0x20. Line 1949, position 6.	00000000-0000-0000-0000-000000000000
11.15.2017 10:10:25.24	psconfigui (0x5528)	0x1140	SharePoint Foundation Upgrade	SPUpgradeSession	ajxnm	ERROR	   at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)     at System.Xml.XmlTextReaderImpl.ParseElement()     at System.Xml.XmlTextReaderImpl.ParseElementContent()     at System.Xml.Schema.Parser.Parse(XmlReader reader, String targetNamespace)     at System.Xml.Schema.XmlSchemaSet.ParseSchema(String targetNamespace, XmlReader reader)     at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)     at Microsoft.SharePoint.Utilities.SPUtility.GetSharePointXmlSchemaSet(Int32 desiredPathVersion)     at Microsoft.SharePoint.Utilities.SPUtility.XsdValidateXml(XmlTextReader xmlStreamReader, String friendlyName, String pathXsdFile, String tagExpectedRootNode, Int32 desiredPathVersion, ValidationEventHandler xsdValEventHandler)     at Microsoft.SharePoint.Administration.SPFeatureDefinition.ValidateFeatureXml(String pathToFeatureAndElementManifestXsdFile)     at Microsoft.SharePoint.Administration.SPFeatureDefinition.ValidateDefinition(String pathToFeatureAndElementManifestXsdFile)     at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.AddCore(SPFeatureDefinition featdef, SPSite site, String solutionHash, Boolean fForce, Boolean fDoValidation, String pathToFeatureAndElementManifestXsdFile)     at Microsoft.SharePoint.Administration.SPFarm.EnsureOutOfBoxFeaturesInstalled(String[] rgsOutOfBoxFeatures, Int32 compatibilityLevel)     at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()	00000000-0000-0000-0000-000000000000
11.15.2017 10:10:25.24	psconfigui (0x5528)	0x1140	SharePoint Foundation Upgrade	SPUpgradeSession	ajxnm	ERROR	Exception: Action 4.0.5.0 of Microsoft.SharePoint.Upgrade.SPFarmSequence failed.	00000000-0000-0000-0000-000000000000
11.15.2017 10:10:25.24	psconfigui (0x5528)	0x1140	SharePoint Foundation Upgrade	SPUpgradeSession	ajxnm	ERROR	   at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()     at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)	00000000-0000-0000-0000-000000000000

推荐答案

代码中应该有错误.由于您没有共享代码,也许您可​​以验证 xml文件第一行的开头. <?xml version ="1.0" .....

It should be something wrong in the code. Since you did not share the code, maybe you can verify the beginning of the first line of the xml file. <?xml version="1.0".....

有一个空格"在< ;?"之后像:< ;? xml""


这篇关于任何wsp的安装都会失败,并显示以下消息:名称不能以''字符开头,十六进制值0x20的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆