We have an old site that was created in Kentico version 5. Now it's old and the CEO wants it to be responsive. I have tried to retro fit the old site to look better on mobile devices but I can't figure out how to do it in Kentico 8.2 I just keep tanking the portal engine. So I thought I would try to create a new site next to the old one and then deploy it in place of the old one. But every attempt to make a buddy site just errors no matter what I do...
ERROR: Error importing 'Page types' objects (Image gallery)
Message:
CREATE TABLE CONTENT_ImageGallery ([ImageGalleryID] int NOT NULL IDENTITY (1,1)); ALTER TABLE CONTENT_ImageGallery ADD CONSTRAINT PK_CONTENT_ImageGallery PRIMARY KEY CLUSTERED ([ImageGalleryID]);
Caused exception:
CREATE TABLE permission denied in database 'CaptionCall_DPLYWeb2'.
Exception type: System.Exception
Stack Trace:
at CMS.DataEngine.AbstractDataConnection.HandleError(String queryText, Exception ex)
at CMS.DataEngine.AbstractDataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction)
at CMS.DataEngine.AbstractTableManager.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType)
at CMS.DataEngine.TableManager.CreateTableByDefinition(String tableName, String definition, String& columns)
at CMS.FormEngine.ImportSpecialActions.UpdateDatabase(DataClassInfo dci)
at CMS.FormEngine.ImportSpecialActions.ProcessMainObject_Before(Object sender, ImportEventArgs e)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List
1 list, TArgs e, Boolean important)
at CMS.Base.AdvancedHandler2.RaiseBefore(TArgs e)
at CMS.Base.AdvancedHandler
2.RaiseBefore(TArgs e)
at CMS.Base.AdvancedHandler2.StartEvent(TArgs e, Boolean allowEvent)
at CMS.CMSImportExport.ImportProvider.ProcessMainObject(SiteImportSettings settings, GeneralizedInfo infoObj, GeneralizedInfo parentObject, TranslationHelper th, ImportParameters parameters)
at CMS.CMSImportExport.ImportProvider.UpdateObject(SiteImportSettings settings, GeneralizedInfo infoObj, Boolean siteObject, DataSet data, TranslationHelper th, Boolean updateChildren, ProcessObjectEnum process, List
1 importedParentIds, List1 postProcessList, List
1 importedObjects, GeneralizedInfo parentObject, Boolean postProcessing)
at CMS.CMSImportExport.ImportProvider.ImportObjects(SiteImportSettings settings, DataSet data, String objectType, Boolean siteObject, TranslationHelper th, Boolean importChild, ProcessObjectEnum processType, List`1 importedParentIds)
Message: CREATE TABLE permission denied in database 'CaptionCall_DPLYWeb2'.
Exception type: System.Data.SqlClient.SqlException
Stack Trace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at CMS.DataEngine.AbstractDataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction)
ERROR: Error during import process
Message:
CREATE TABLE CONTENT_ImageGallery ([ImageGalleryID] int NOT NULL IDENTITY (1,1)); ALTER TABLE CONTENT_ImageGallery ADD CONSTRAINT PK_CONTENT_ImageGallery PRIMARY KEY CLUSTERED ([ImageGalleryID]);
Caused exception:
CREATE TABLE permission denied in database 'CaptionCall_DPLYWeb2'.
Exception type: System.Exception
Stack Trace:
at CMS.DataEngine.AbstractDataConnection.HandleError(String queryText, Exception ex)
at CMS.DataEngine.AbstractDataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction)
at CMS.DataEngine.AbstractTableManager.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType)
at CMS.DataEngine.TableManager.CreateTableByDefinition(String tableName, String definition, String& columns)
at CMS.FormEngine.ImportSpecialActions.UpdateDatabase(DataClassInfo dci)
at CMS.FormEngine.ImportSpecialActions.ProcessMainObject_Before(Object sender, ImportEventArgs e)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List
1 list, TArgs e, Boolean important)
at CMS.Base.AdvancedHandler2.RaiseBefore(TArgs e)
at CMS.Base.AdvancedHandler
2.RaiseBefore(TArgs e)
at CMS.Base.AdvancedHandler2.StartEvent(TArgs e, Boolean allowEvent)
at CMS.CMSImportExport.ImportProvider.ProcessMainObject(SiteImportSettings settings, GeneralizedInfo infoObj, GeneralizedInfo parentObject, TranslationHelper th, ImportParameters parameters)
at CMS.CMSImportExport.ImportProvider.UpdateObject(SiteImportSettings settings, GeneralizedInfo infoObj, Boolean siteObject, DataSet data, TranslationHelper th, Boolean updateChildren, ProcessObjectEnum process, List
1 importedParentIds, List1 postProcessList, List
1 importedObjects, GeneralizedInfo parentObject, Boolean postProcessing)
at CMS.CMSImportExport.ImportProvider.ImportObjects(SiteImportSettings settings, DataSet data, String objectType, Boolean siteObject, TranslationHelper th, Boolean importChild, ProcessObjectEnum processType, List1 importedParentIds)
at CMS.CMSImportExport.ImportProvider.ImportObjectType(SiteImportSettings settings, String objectType, Boolean siteObject, TranslationHelper th, ProcessObjectEnum processType, List
1 importedParentIds)
at CMS.CMSImportExport.ImportProvider.ImportObjectsData(SiteImportSettings settings)
Message: CREATE TABLE permission denied in database 'CaptionCall_DPLYWeb2'.
Exception type: System.Data.SqlClient.SqlException
Stack Trace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at CMS.DataEngine.AbstractDataConnection.ExecuteQuery(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction)
thoughts anyone?