I have two DNN Installations on my local 2008 R2 Server. Both were running 05.06.00. I upgraded both to 05.06.08 attempted the upgrade to 06.02.08. One server upgraded fine, the other one doesn't. It has one error during the upgrade, which is Executing Application Upgrades: 06.01.00 Error!
Here is what the log says:
Error: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at DotNetNuke.Entities.Modules.ModuleControlController.GetModuleControlsByModuleDefinitionID(Int32 moduleDefID)
at DotNetNuke.Services.Upgrade.Upgrade.EnableModalPopUps()
at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion610()
at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)
I can see that there is a problem with a duplicate key, but have not been able to figure out how to fix the issue.
When I attempt to access the website I get:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0117: 'FileManager' does not contain a definition for 'Instance'
Source Error:
Line 326: {
Line 327: var fileInfo = GetBackgroundFileInfo();
Line 328: var url = FileManager.Instance.GetUrl(fileInfo);
Line 329:
Line 330: ((HtmlGenericControl)FindControl("Body")).Attributes["style"] = string.Concat("background-image: url('", url, "')");
Thanks!
Ronnie