Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Error on new blog post after upgrade to v5.5.4136 R2 View modes: 
User avatar
Member
Member
dk@rada.ru - 5/4/2011 8:22:02 PM
   
Error on new blog post after upgrade to v5.5.4136 R2
Greetings.
I have upgraded recentrly my 5.5 R2 to last version (v5.5.4136 R2).
After that, when trying to add new blog post (regardless - using "New..." button or via XML-RPC), I'm getting following error:
"Exception Details: System.Xml.XmlException: Root element is missing.
Source Error:

Line 87: {
Line 88: xmlPinged = new XmlDocument();
Line 89: xmlPinged.LoadXml(value);
Line 90:
Line 91: if (xmlPinged.DocumentElement != null)


Source File: d:\Sites\Kentico\CMSModules\Blogs\FormControls\PingedUrls.ascx.cs Line: 89

Stack Trace:

[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +76
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +61
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +3979720
System.Xml.XmlTextReaderImpl.Read() +151
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +112
System.Xml.XmlDocument.Load(XmlReader reader) +108
System.Xml.XmlDocument.LoadXml(String xml) +113
CMSModules_Blogs_FormControls_PingedUrls.LoadXML(String value) in d:\Sites\Kentico\CMSModules\Blogs\FormControls\PingedUrls.ascx.cs:89
CMSModules_Blogs_FormControls_PingedUrls.LoadFromXML() in d:\Sites\Kentico\CMSModules\Blogs\FormControls\PingedUrls.ascx.cs:105
CMSModules_Blogs_FormControls_PingedUrls.OnPreRender(EventArgs e) in d:\Sites\Kentico\CMSModules\Blogs\FormControls\PingedUrls.ascx.cs:75
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618
"

I'm using 3.5 version of CMS. Before upgrade - everything seemed to be ok, current blog posts are also displayed, but something is going wrong on adding new post.

Thanks in advance for any help.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/10/2011 6:01:44 AM
   
RE:Error on new blog post after upgrade to v5.5.4136 R2
Hello,


What version did you use before?

Could you please copy the files from your installation folder, for example:

c:\Program Files (x86)\KenticoCMS\5.5R2\Webinstaller\Modules\Blogs\CMSModules\Blogs\FormControls\

to your web site folder, for example:

c:\Inetpub\wwwroot\55r2\CMSModules\Blogs\FormControls\


Please let me know if it helps.


Best regards,
Helena Grulichova

User avatar
Member
Member
ars - 6/7/2011 1:42:18 PM
   
RE:Error on new blog post after upgrade to v5.5.4136 R2
Thanks Helena
It was the solution!