Learn More





New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocuments6.0 Upgrade Error6.0 Upgrade Error
New Post
5/28/2013 5:07 PM

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?



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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocuments6.0 Upgrade Error6.0 Upgrade Error

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out