I'm getting the below error after having upgraded from 5.0 to 6.0. I'm on DNN version 07.00.04. I can go back to version 5.0, but now I can't edit any of my resources. I've also edited the Documents tables and there are no fields over 128 characters except for the Description field. Any ideas?
Thanks,
Mark
StartJob Starting Installation
Info Starting Installation - DNN_Documents
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - Providers\DataProviders\SQLDataProvider\06.00.00.SqlDataProvider
Info Created - Providers\DataProviders\SQLDataProvider\06.00.00.SqlDataProvider
Info Executing 06.00.00.SqlDataProvider
Info Start Sql execution: 06.00.00.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): The identifier that starts with ', Files.Size, Files.ContentType, UrlTracking.TrackClicks, UrlTracking.Clicks, Url' is too long. Maximum length is 128. Unclosed quotation mark after the character string ', Files.Size, Files.ContentType, UrlTracking.TrackClicks, UrlTracking.Clicks, UrlT'. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 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) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:579024c0-ddac-4de5-ae7b-57dc7ab5490c CREATE PROCEDURE dbo.GetDocument @ItemId INT, @ModuleId INT AS SELECT Documents.Itemid, Documents.Moduleid, Documents.Title, Documents.Url, Documents.Category, CreatedByUser.FirstName + ' ' + CreatedByUser.LastName AS "CreatedByUser", OwnedByUser.FirstName + ' ' + OwnedByUser.LastName AS "OwnedByUser", ModifiedByUser.FirstName + ' ' + ModifiedByUser.LastName AS ModifiedByUser", Files.Size, Files.ContentType, UrlTracking.TrackClicks, UrlTracking.Clicks, UrlTracking.NewWindow, Documents.OwnedByUserID, Documents.ModifiedByUserID, Documents.ModifiedDate, Documents.CreatedByUserID, Documents.CreatedDate, Documents.SortOrderIndex, Documents.Description, Documents.ForceDownload FROM dbo.Documents LEFT OUTER JOIN dbo.Users AS CreatedByUser on Documents.CreatedByUserID = CreatedByUser.UserId LEFT OUTER JOIN dbo.Users AS OwnedByUser on Documents.OwnedByUserID = OwnedByUser.UserId LEFT OUTER JOIN dbo.Users AS ModifiedByUser on Documents.ModifiedByUserID = ModifiedByUser.UserId LEFT OUTER JOIN dbo.UrlTracking on Documents.URL = UrlTracking.Url and UrlTracking.ModuleId = @ModuleID LEFT OUTER JOIN dbo.Files on Documents.URL = 'fileid=' + convert(varchar,dbo.Files.FileID) WHERE dbo.Documents.ItemId = @ItemId and dbo.Documents.ModuleId = @ModuleId
Info End Sql execution: 06.00.00.SqlDataProvider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - DNN_Documents
Info Deleted temporary install folder
EndJob Installation Failed