2011-06-28 75 views
0

我希望有人能够在Sitefinity上回答这个问题。当我们在做出一些更改后尝试并保存页面时,会发生这种情况。我们正在努力解决为什么会发生这种情况,因为这对localhost安装起作用。我们的想法是,当我们将数据库发送回客户端进行恢复时,他们需要从SQL2008降级到SQL2000。Sitefinity:发生意外的文件结尾

这是错误...

发生意外的文件结束。以下元素未关闭:SettingTypeName,BaseSettingValue,ArrayOfBaseSettingValue。 Line 1,position 4001.

非常感谢!

Server Error in '/' Application. Unexpected end of file has occurred. The following elements are not closed: SettingTypeName, BaseSettingValue, ArrayOfBaseSettingValue. Line 1, position 4001. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: SettingTypeName, BaseSettingValue, ArrayOfBaseSettingValue. Line 1, position 4001. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [XmlException: Unexpected end of file has occurred. The following elements are not closed: SettingTypeName, BaseSettingValue, ArrayOfBaseSettingValue. Line 1, position 4001.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +76 System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +126 System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg) +18 System.Xml.XmlTextReaderImpl.ThrowUnclosedElements() +254 System.Xml.XmlTextReaderImpl.ParseElementContent() +3977055 System.Xml.XmlTextReaderImpl.Read() +45 System.Xml.XmlReader.InternalReadContentAsString() +181 System.Xml.XmlReader.ReadContentAsString() +37 System.Xml.XmlReader.ReadElementContentAsString() +35 Telerik.Cms.Engine.Design.SettingsListConverter.GetSettingTypes(String serializedSettings) +169 Telerik.Cms.Engine.Design.SettingsListConverter.DeserializeDesignerSettings(String settingsCollection) +105 Telerik.Cms.Engine.Design.SettingsListConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +62 System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text) +55 Telerik.Cms.Data.WebControlBase.LoadControl(Control control, PropertyDescriptorCollection properties) +180 Telerik.Cms.Data.CmsWebControl.LoadControl(Control control, PropertyDescriptorCollection properties) +9 Telerik.Cms.Data.WebControlBase.LoadControl(TemplateControl template, Control& control) +287 Telerik.Cms.Data.WebControlBase.LoadControl(TemplateControl template) +27 Telerik.Cms.Data.WebControlBase.LoadControl() +12 Telerik.Cms.Data.StagedPage.GetRewriterServiceType(CmsWebControl ctrl) +83 Telerik.Cms.Data.StagedPage.Copy(StagedPage source, PageContentBase target) +693 Telerik.Cms.Data.StagedPage.Publish() +220 Telerik.Cms.Data.StagedPage.CheckIn() +365 Telerik.Cms.Web.UI.ToolBar.Button_Command(Object sender, CommandEventArgs e) +123 System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +108 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +135 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618

回答

1

你有sitefinity任何自定义ASPX控件或你编辑任何基础sitefinity页面窗口小部件,你可能会丢失一个属性的最终报价?

例如

<SettingTypeName myAttribute="heresAnAttribute >blah blah blah</SettingTypeName> 

如果我没有记错,缺乏闭合端报价给出了类似的错误,你看到的...

相关问题