More in this section

Forums / Bugs & Issues / Invalid object name 'sf_VersionItem'

Invalid object name 'sf_VersionItem'

2 posts, 0 answered
  1. Miran Zgec
    Miran Zgec avatar
    19 posts
    06 Oct 2006
    28 Sep 2007
    Link to this post

    I get following error when triing to create new news or shared generic content:

    Invalid object name 'sf_VersionItem'.

    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.Data.SqlClient.SqlException: Invalid object name 'sf_VersionItem'.

    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:

    [SqlException (0x80131904): Invalid object name 'sf_VersionItem'.]
    Telerik.ManagerBase`1.Initialize() +767
    Telerik.ManagerBase`1..ctor(String providerName) +18
    Telerik.Versioning.VersionManager..ctor(String providerName) +4
    Telerik.Cms.Engine.ContentProviderBase.get_Version() +49
    Telerik.Cms.Engine.ContentManager.CreateVersion(IContent cntItem, CultureInfo cult) +368
    Telerik.Cms.Engine.ContentManager.CreateContent(String mimeType, Guid id) +177
    Telerik.Cms.Engine.ContentManager.CreateContent(String mimeType) +38
    Telerik.Cms.Engine.WebControls.Admin.ControlPanel.button_Command(Object sender, CommandEventArgs e) +1235
    System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +105
    System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +163
    System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

  2. Rebecca
    Rebecca avatar
    536 posts
    24 Sep 2012
    28 Sep 2007
    Link to this post
    Hi Miran Zgec,

    The error means that Telerik.Versioning module does not have its database objects created. The module providers cannot create them as the action is not allowed in medium trust environment.
    You need to enforce database upgrade for Telerik.Versioning by creating at least one content item (initialize all modules in the database, in full trust environment, in your local site) before
    uploading the upgraded DB to the production server.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered