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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Desktop Module Error after 5.1 UpgradeDesktop Module Error after 5.1 Upgrade
Previous
 
Next
New Post
8/17/2009 4:12 PM
 

I have upgraded my site to DNN 5.1.1, and got the same error when I log as host and also the module combobox in the control panel is empty: here is the error:

DotNetNuke.Services.Exceptions.ModuleLoadException: An entry with the same key already exists. ---> System.ArgumentException: An entry with the same key already exists. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value) at DotNetNuke.Entities.Modules.DesktopModuleController.GetPortalDesktopModules(Int32 portalID) at DotNetNuke.UI.ControlPanels.IconBar.BindData() at DotNetNuke.UI.ControlPanels.IconBar.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace

 

I run an SQL againest ModuleDefinitions table as "select * from ModuleDefinitions order by FriendlyName" and here is the result :


ModuleDefID FriendlyName DesktopModuleID DefaultCacheTime CreatedByUserID CreatedOnDate LastModifiedByUserID LastModifiedOnDate
74 Account Login 32 -1        
160 Active Forums 113 0        
157 Active Forums What's New 110 0        
181 ActiveForumViewer 134 0        
92 Adsense 50 1200        
161 AFImport 114 0        
127 Alive Media Player 80 0        
20 Banners 15 0        
108 Blog_Archive 61 -1        
105 Blog_List 61 -1        
172 Chat 125 -1        
126 CISS.Tabs 79 0        
194 Console 147 0 -1 10/07/30 03:54:11 م -1 10/07/30 03:54:11 م
118 Content Manager 71 0        
117 Content Modeler 70 0        
119 Content Viewer 72 0        
180 Dashboard 133 0        
189 EasyMod 142 0        
186 Extensions 139 0        
188 FAQs 141 0        
93 Feed Explorer 51 -1        
100 Feedback 58 0        
101 Feedback Comments 58 0        
21 File Manager 16 0        
103 Forum 60 -1        
195 GoogleAnalytics 148 0 -1 10/07/30 03:54:11 م -1 10/07/30 03:54:11 م
72 Host Settings 30 0        
191 Languages 144 0 -1 10/07/30 03:54:10 م -1 10/07/30 03:54:10 م
97 Links 55 0        
90 Lists 48 0        
110 Live Content 63 0        
163 Live Content Cloud 116 0        
164 Live Content SlideShow 117 0        
79 Log Viewer 37 0        
98 MarketShare 56 1200        
173 MesSerChat 126 0        
106 New_Blog 61 -1        
28 Newsletters 19 0        
112 Onyak EmailIt 65 0        
140 Onyak HelpDesk 93 0        
148 Onyak LinkNex 101 0        
135 Onyak Sigma-Pro 88 0        
136 Onyak SigmaPro Dashboard 89 0        
137 OnyakTech Email Viewer 90 0        
133 OnyakTech Library 86 0        
134 OnyakTech PlugIns 87 0        
138 OnyakTech SigmaView 91 0        
147 OnyakTech.MyLinks 100 0        
167 OnyakTech.SigmaLive.PopUp 120 0        
139 OnyakTech.SigmaPro.WS 92 0        
190 Open-DocumentLibrary 143 0        
149 Oseta 102 0        
153 PageBlaster 106 0     1 15/08/30 01:54:57 م
154 PageBlaster Admin 107 0        
63 Portals 22 0        
76 Recycle Bin 34 0        
109 Reports 62 -1        
80 Scheduler 38 0        
146 ScrollingText 99 0        
85 Search Admin 43 0        
86 Search Input 44 0        
87 Search Results 45 0        
107 Search_Blog 61 -1        
185 SecureLinks 138 0        
12 Security Roles 10 0        
27 Site Log 18 0        
14 Site Settings 22 0        
88 Site Wizard 46 0        
193 Skin Designer 146 0 -1 10/07/30 03:54:11 م -1 10/07/30 03:54:11 م
192 Skins 145 0 -1 10/07/30 03:54:10 م -1 10/07/30 03:54:10 م
94 Solutions 52 0        
65 SQL 24 0        
116 SVS-YouTubeViewer 69 0        
176 SWIRLChat 129 0        
177 SWIRLChatUsers 130 0        
13 Tabs 11 0        
150 TagClouds 103 0        
196 Taknology FeedReader Lite 149 0 1 12/07/30 12:48:21 م 1 12/07/30 12:48:21 م
96 Text/HTML 54 1200     -1 20/08/30 02:44:50 م
152 UFP_Category 105 0        
179 Ultra Flash Player 132 0        
75 User Account 10 0        
15 User Accounts 10 0        
102 UsersOnline 59 0        
19 Vendors 14 0        
104 View_Blog 61 -1        
155 WhatsNew 108 0        
128 XMod 81 0        
129 XMod formView 82 0        

I suspect that the dublication is occures for User Account & User Accounts. Please advice

 

 

 
New Post
9/4/2009 5:26 AM
 

Same kind of problem after upgrading DotNetNuke from 4.9.4 to 5.1.2. Everything works except Module Definitions page which gives the error below. There's no "Extensions" page in the menu, or whatever it's meant to have changed to now on DNN 5. Isn't anyone from the core tam interested in getting this diagnosed & fixed???

 

Error: Module Definitions is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: D:\WebRoot\Domains\shootmyfamily.co.uk\wwwroot\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(61): error BC30311: Value of type 'String' cannot be converted to 'System.Version'. ---> System.Web.HttpCompileException: D:\WebRoot\Domains\shootmyfamily.co.uk\wwwroot\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(61): error BC30311: Value of type 'String' cannot be converted to 'System.Version'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---


Jon Silver
JFDI Phoenix Ltd
Microsoft Gold Certified Partner
 
New Post
9/4/2009 8:46 AM
 

Please check version fields in database tables Version and ModuleDefinitions for anomalies.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/4/2009 10:27 AM
 

OK, I've done that but what am I meant to be checking? There's no version field in ModuleDefinitions, and
this is my version table:

 

VersionID Major Minor Build CreatedDate Name
1 4 4 0 17/01/2007 21:04:12 NULL
2 4 4 1 26/05/2007 07:33:43 NULL
3 4 5 0 26/05/2007 07:33:45 NULL
4 4 5 1 26/05/2007 07:33:46 NULL
5 4 5 2 15/11/2007 20:15:18 NULL
6 4 5 3 15/11/2007 20:15:19 NULL
7 4 5 4 15/11/2007 20:15:19 NULL
8 4 5 5 15/11/2007 20:15:19 NULL
9 4 6 0 15/11/2007 20:15:22 NULL
10 4 6 1 15/11/2007 20:15:22 NULL
11 4 6 2 15/11/2007 20:15:22 NULL
12 4 7 0 15/11/2007 20:15:24 NULL
13 4 8 0 18/04/2008 03:36:06 NULL
14 4 8 1 18/04/2008 03:36:16 NULL
15 4 8 2 18/04/2008 03:36:16 NULL
17 4 8 3 27/05/2009 08:00:02 NULL
18 4 8 4 27/05/2009 08:00:02 NULL
19 4 9 0 27/05/2009 08:00:03 NULL
20 4 9 1 27/05/2009 08:00:05 DNNCORP.CE
21 4 9 2 27/05/2009 08:00:07 DNNCORP.CE
22 4 9 3 27/05/2009 08:00:07 DNNCORP.CE
23 4 9 4 27/05/2009 08:00:07 DNNCORP.CE
24 5 0 0 04/09/2009 04:55:49 DNNCORP.CE
25 5 0 1 04/09/2009 04:56:09 DNNCORP.CE
26 5 1 0 04/09/2009 04:56:32 DNNCORP.CE
27 5 1 1 04/09/2009 05:01:27 DNNCORP.CE
28 5 1 2 04/09/2009 05:01:43 DNNCORP.CE
NULL NULL NULL NULL NULL NULL

Jon Silver
JFDI Phoenix Ltd
Microsoft Gold Certified Partner
 
New Post
9/8/2009 1:07 AM
 

I also just did a DNN 4.9.4 to 5.1.2 upgrade. I got all successes on my log. But when I login as Host I get this same error.

DotNetNuke.Services.Exceptions.ModuleLoadException: An entry with the same key already exists. ---> System.ArgumentException: An entry with the same key already exists. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value) at DotNetNuke.Entities.Modules.DesktopModuleController.GetPortalDesktopModules(Int32 portalID) at DotNetNuke.UI.ControlPanels.IconBar.BindData() at DotNetNuke.UI.ControlPanels.IconBar.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

I also had two versions of Google Analytics, but they had difference FriendlyNames (one had a space and the other didn't). Anyway, I totally deleted the module from the home page and went in and tried to uninstall, but it would recycle the page and both versions of the Analytics were there. So I went into the ModuleDefinitions table and deleted the rows there. Still cannot access any modules with their edit icon. I get

A critical error has occurred.
Input string was not in a correct format.

I checked and don't have any duplicates in my version table and there are no duplicates in the ModuleDef table.

Thanks for any help you can provide. Other than this the site seems to function well.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Desktop Module Error after 5.1 UpgradeDesktop Module Error after 5.1 Upgrade


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