francois.voeltzel-sedasis
-
4/2/2009 4:32:42 PM
Changing licence and SQL error
Hello,
I've worked on a project with the trial licence, and changed it before expiration to a paid licence... I don't know what i've done wrong, but when i try to reach my localhost/(mysite), I've got an invalid domain page from kentico...telling me to go to Site manager to edit my licence information.
but the problem is when i go for it, i've an error page, and can't access the cmsdesk or the site manager : Paste of the error message
[DataConnection.ExecuteQuery]: Query: Proc_CMS_Session_Update: caused exception: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_CMS_Session_CMS_Site". The conflict occurred in database "InovahCMS", table "dbo.CMS_Site", column 'SiteID'. The statement has been terminated. 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.Exception: [DataConnection.ExecuteQuery]: Query: Proc_CMS_Session_Update: caused exception: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_CMS_Session_CMS_Site". The conflict occurred in database "InovahCMS", table "dbo.CMS_Site", column 'SiteID'. The statement has been terminated.
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:
[Exception: [DataConnection.ExecuteQuery]: Query: Proc_CMS_Session_Update: caused exception: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_CMS_Session_CMS_Site". The conflict occurred in database "InovahCMS", table "dbo.CMS_Site", column 'SiteID'. The statement has been terminated.] CMS.DataProviderSQL.DataConnection.ExecuteQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType) +807 CMS.DataProviderSQL.DataConnection.CMS.IDataConnectionLibrary.IDataConnection.ExecuteQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType) +13 CMS.DataEngine.GeneralConnection.ExecuteQuery(String queryText, Object[,] parameters, QueryTypeEnum queryType, Boolean transaction) +171 CMS.CMSHelper.SessionInfo.Update() +910 CMS.CMSHelper.SessionManager.UpdateCurrentSession() +875 CMS.UIControls.SiteManagerPage.SiteManagerPage_PreInit(Object sender, EventArgs e) +36 System.Web.UI.Page.OnPreInit(EventArgs e) +8698174 CMS.UIControls.CMSPage.OnPreInit(EventArgs e) +83 System.Web.UI.Page.PerformPreInit() +31 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
How can i recover the site without having access to the site manager and cmsdesk ??
Thanks for your help
Francois
|