[2016-07-18 18:12:38] Failed to run SQLscript: Invalid column name 'ElementType'.
Invalid column name 'ElementProperties'.
Invalid column name 'ElementIconClass'.
Invalid column name 'ElementAccessCondition'.
Invalid column name 'ElementVisibilityCondition'.Message: Invalid column name 'ElementType'.
Invalid column name 'ElementProperties'.
Invalid column name 'ElementIconClass'.
Invalid column name 'ElementAccessCondition'.
Invalid column name 'ElementVisibilityCondition'.
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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Hotfix.HotfixHelper.RunSQLScript(String fileName, String connString, String defaultUICulture, IMessageLog messageLog)
[2016-07-18 18:12:39]
DECLARE @elementParentID int;
SET @elementParentID = (SELECT TOP 1 [ElementID] FROM [CMS_UIElement] WHERE [ElementGUID] = '43ea4f2b-554e-40f3-a602-90ef5e1e1d4f')
IF @elementParentID <>0 BEGIN
DECLARE @elementPageTemplateID int;
SET @elementPageTemplateID = (SELECT TOP 1 [PageTemplateID] FROM [CMS_PageTemplate] WHERE [PageTemplateGUID] = 'df52ca8a-ad10-4b67-8dfb-a1311d571615')
IF @elementPageTemplateID <>0 BEGIN
DECLARE @elementResourceID int;
SET @elementResourceID = (SELECT TOP 1 [ResourceID] FROM [CMS_Resource] WHERE [ResourceGUID] = 'c408448c-9373-42b0-950d-812d5c95f57b')
IF @elementResourceID <>0 BEGIN
UPDATE [CMS_UIElement] SET
[ElementCaption] = NULL,
[ElementTargetURL] = NULL,
[ElementDescription] = NULL,
[ElementType] = 'PageTemplate',
[ElementProperties] = '',
[ElementIconClass] = '',
[ElementAccessCondition] = NULL,
[ElementVisibilityCondition] = NULL
WHERE [ElementGUID] = 'bff609cc-757d-4216-9162-330d9b1802eb'
END
END
END
[2016-07-18 18:12:40] Failed to run SQLscript: Invalid column name 'ElementType'.
Invalid column name 'ElementProperties'.
Invalid column name 'ElementIconClass'.
Invalid column name 'ElementCheckModuleReadPermission'.
Invalid column name 'ElementAccessCondition'.
Invalid column name 'ElementVisibilityCondition'.Message: Invalid column name 'ElementType'.
Invalid column name 'ElementProperties'.
Invalid column name 'ElementIconClass'.
Invalid column name 'ElementCheckModuleReadPermission'.
Invalid column name 'ElementAccessCondition'.
Invalid column name 'ElementVisibilityCondition'.
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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Hotfix.HotfixHelper.RunSQLScript(String fileName, String connString, String defaultUICulture, IMessageLog messageLog)
[2016-07-18 18:12:42]
DECLARE @elementParentID int;
SET @elementParentID = (SELECT TOP 1 [ElementID] FROM [CMS_UIElement] WHERE [ElementGUID] = 'd0e14612-8361-404c-8f07-33e3e865f081')
IF @elementParentID <>0 BEGIN
DECLARE @elementPageTemplateID int;
SET @elementPageTemplateID = (SELECT TOP 1 [PageTemplateID] FROM [CMS_PageTemplate] WHERE [PageTemplateGUID] = 'df52ca8a-ad10-4b67-8dfb-a1311d571615')
IF @elementPageTemplateID <>0 BEGIN
DECLARE @elementResourceID int;
SET @elementResourceID = (SELECT TOP 1 [ResourceID] FROM [CMS_Resource] WHERE [ResourceGUID] = 'b755e8fc-a06f-421a-b749-f2d31d1f2570')
IF @elementResourceID <>0 BEGIN
UPDATE [CMS_UIElement] SET
[ElementTargetURL] = NULL,
[ElementDescription] = NULL,
[ElementType] = 'PageTemplate',
[ElementProperties] = '',
[ElementIconClass] = '',
[ElementCheckModuleReadPermission] = 1,
[ElementAccessCondition] = NULL,
[ElementVisibilityCondition] = NULL
WHERE [ElementGUID] = '75e6ad5c-2763-4bff-95b3-f8d2fbc183a7'
END
END
END
[2016-07-18 18:12:43] Failed to run SQLscript: Invalid column name 'ElementProperties'.Message: Invalid column name 'ElementProperties'.
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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Hotfix.HotfixHelper.RunSQLScript(String fileName, String connString, String defaultUICulture, IMessageLog messageLog)
[2016-07-18 18:12:44]
DECLARE @elementParentID int;
SET @elementParentID = (SELECT TOP 1 [ElementID] FROM [CMS_UIElement] WHERE [ElementGUID] = 'cc744db0-dc8c-45de-ab30-bd36f67b2eb9')
IF @elementParentID <>0 BEGIN
DECLARE @elementPageTemplateID int;
SET @elementPageTemplateID = NULL
BEGIN
DECLARE @elementResourceID int;
SET @elementResourceID = (SELECT TOP 1 [ResourceID] FROM [CMS_Resource] WHERE [ResourceGUID] = '98c6ee00-230a-4207-a6d3-03677b83b245')
IF @elementResourceID <>0 BEGIN
UPDATE [CMS_UIElement] SET
[ElementProperties] = ''
WHERE [ElementGUID] = 'aa1f8f8b-46ff-4e62-ad3d-b3c6e46e7d96'
END
END
END
[2016-07-18 18:12:45] Failed to run SQLscript: Invalid column name 'ElementType'.
Invalid column name 'ElementPageTemplateID'.Message: Invalid column name 'ElementType'.
Invalid column name 'ElementPageTemplateID'.
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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Hotfix.HotfixHelper.RunSQLScript(String fileName, String connString, String defaultUICulture, IMessageLog messageLog)
[2016-07-18 18:12:45]
UPDATE [CMS_UIElement] SET [ElementType] = N'PageTemplate' WHERE [ElementType] = N'Url' AND [ElementPageTemplateID] > 0 AND ISNULL([ElementTargetURL], '') = ''
UPDATE [CMS_UIElement] SET [ElementType] = N'Url' WHERE [ElementType] = N'0'
UPDATE [CMS_UIElement] SET [ElementType] = N'PageTemplate' WHERE [ElementType] = N'1'
UPDATE [CMS_UIElement] SET [ElementType] = N'UserControl' WHERE [ElementType] = N'2'
UPDATE [CMS_UIElement] SET [ElementType] = N'Javascript' WHERE [ElementType] = N'3'
UPDATE [CMS_UIElement] SET [ElementType] = N'Url' WHERE ISNULL([ElementType], '') = '' AND ISNULL([ElementTargetURL], '') != ''
[2016-07-18 18:12:45] SQL script applied.
while doing via KIM on 8.2 to 9
[2016-07-18 19:45:36] SQL script applied.
[2016-07-18 19:45:37] Invalid URI: The hostname could not be parsed.Message: Invalid URI: The hostname could not be parsed.
Stack Trace:
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Hotfix.HotfixInstaller.ApplyUpgrade(HotFixItemsEnum items, BackgroundWorker worker, DoWorkEventArgs e)
While after this if i run the project I get an error saying that
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
For this error I tried clearing the OBJ folder/ Debug but no joy
I appreciate your time in analyzing this issue, thanks in advance