Replies: 5 comments 2 replies
-
|
I had that problem too. I ended up writing this script to run before the upgrade to resolve it. |
Beta Was this translation helpful? Give feedback.
-
|
We don't usually re-release already released versions. Can you explain a bit how to get into that predicament in the first place, I have done a lot of upgrades without that issue. Was the upgrade path followed here https://docs.dnncommunity.org/content/getting-started/setup/upgrades/suggested-upgrade-path/index.html |
Beta Was this translation helpful? Give feedback.
-
|
I'll move this to a discussion for now and bring it back to an issue if we have a more actionable idea on this. |
Beta Was this translation helpful? Give feedback.
-
|
We ran into this on a DNN site that was originally installed on April 19, 2012, so it must have been v6.1.x. I assume that across many subsequent upgrades the indexes were either deleted or not created. |
Beta Was this translation helpful? Give feedback.
-
|
Do you know the specific upgrade steps that were followed? More than anything was the suggested upgrade path followed? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/dnnsoftware/Dnn.Platform/blob/ea2cc0373d4ee8d5c28805cf6901fbb4e57d88b6/DNN Platform/Website/Providers/DataProviders/SqlDataProvider/09.13.08.SqlDataProvider#L12
When running the upgrade, I encountered an SQL error at this point because the index IX_Lists_ListName_Value_Text_ParentID was not found in the database.
I think we need to add the following code for security.
IF EXISTS (SELECT * FROM sys.indexes WHERE name = N'IX_{objectQualifier}Lists_ListName_Value_Text_ParentID')The code is the same as in the old version:
Dnn.Platform/DNN Platform/Website/Providers/DataProviders/SqlDataProvider/05.06.00.SqlDataProvider
Line 1044 in ea2cc03
Beta Was this translation helpful? Give feedback.
All reactions