"Root Element Missing" error creating custom columns
Custom site column deployment fails with "Root Element missing" error. Using sample right out of the book. Could anyone tell me what's wrong or how I can debug?
XML Document failed to parse, file 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\MyCustomColumn\fea ture.xml', line 0, character 0:
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo( String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(Stream inStream)
at Microsoft.SharePoint.SPXmlDocCache.GetGlobalXmlDoc umentCore(String pathXml, Boolean bFeature)
Somehow got it working.
Recopied top 2 lines from a working feature and it installed. Then I had to put the files into a renamed copy of a previously working feature folder to get past "Server declined to show page" error in trying to activate it. Security was the same on both folders. It makes no sense. But it's working!
|All times are GMT -4. The time now is 09:03 PM.|
Powered by vBulletin®
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.