Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.6.2 Upgrade Error5.6.2 Upgrade Error
Previous
 
Next
New Post
3/24/2011 9:47 AM
 
During a test upgrade from 5.6.1 to 5.6.2 we received this error: 

System.Data.SqlClient.SqlException: 'IX_FolderPath' is not a constraint.
Could not drop constraint. See previous errors.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (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)

ALTER TABLE dbo.folders DROP CONSTRAINT IX_FolderPath

Any ideas?

Thanks!
 
New Post
3/24/2011 10:02 AM
 
Please check the file /Providers/DataProviders/SqlDataProvider/05.06.02.log.resources to see if additional details as to the error were logged. If you have access to the database via SQL Server Management Studio or similar tool, please look at the definition for the table dbo.Folders to see if

1. The index named "IX_FolderPath" was properly re-created as

IX_{objectQualifier}FolderPath UNIQUE NONCLUSTERED
  (
    PortalID,
    FolderPath
  ) ON [PRIMARY]


2. The column FolderPath was successfully re-defined as nvarchar(300)  NOT NULL. Previously I believe it was varchar(300)

If no other errors are noted in the log file and the IX_FolderPath index was re-created and the FolderPath column definition properly altered I believe you can ignore this error otherwise will have to determine why the initial drop of the constraint failed and most likely have to first create the IX_FolderPath index in the actual site's database before running the 5.6.2 upgrade.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.6.2 Upgrade Error5.6.2 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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out