Hi,
I had the same error as above. I resored files and database made the change and still get the following error.
System.Data.SqlClient.SqlException: Incorrect syntax near 'Lists'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Set DataType List to be a SystemList */
/****************************************/
UPDATE dbo.DNN_ Lists SET SystemList = 'True' WHERE ListName = 'DataType'
I copied the setion in yellow {databaseOwner}{objectQualifier} into the file, but it looks like the syntax is incorrect.
my file line looks like
UPDATE {databaseOwner}{objectQualifier} Lists SET SystemList = 'True' WHERE ListName = 'DataType'
Is there more I should have altered?
Thanks
Paul Cameron