XModPro

DNN Localization issue -DNN import/export doesn't work

Rune Kildahl Bentsen Rune Kildahl Bentsen asked May 22, 2014
Active Jun 6 · Viewed 2653 times
<p>Hi everyone</p><p>I'm having some major issues with the standard DNN import/export feature, which seems to fail completely.</p><p>The important part, is when adding a localized language to a portal. Using this feature will allow DNN to automatically create another language as a copy of the primary language, copying all pages and modules using the standard export/import feature.</p><p>This process times out after exactly 3 minutes which halts the process halfway through creating a new language.&nbsp;I'm working with DNN Tech support on finding an answer to the timeout, and they insist it's caused by the xmod module on some of the pages, since&nbsp;this is found in my logs:</p><p>2014-05-22 09:52:24,593 [BIGOM][Thread:40][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.ArgumentException: Item has already been added. Key in dictionary: 'TemplateName' Key being added: 'TemplateName'</p><p> at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)</p><p> at KnowBetter.XModPro.XModProController.ImportFromXml(String InputXml)</p><p> at KnowBetter.XModPro.XModProController.ImportModule(Int32 ModuleID, String Content, String Version, Int32 UserID)</p><p> at DotNetNuke.Entities.Modules.ModuleController.LocalizeModuleInternal(ModuleInfo sourceModule)</p><p>--</p><p>I'm not convinced the xmod module is causing the timeout, but I'd like some help to solve this problem with import / export, since the alternative is to temporarily remove the module completely (uninstall) and then reinstall after a language is added. NOT something I want to do.</p><p>Does anyone have any experience with importing or exporting the xmod module using the DNN export/import feature? It would be nice to know if this is just related to my own modules or if it's a general thing.</p><p>According to DNN support,&nbsp; <p>Simple export/import test fails as generated export file is empty:<br> &lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;content type="XModPro" version="04.02.00"&gt;&lt;settings&gt;&lt;template&gt;&lt;![CDATA[]]&gt;&lt;/template&gt;&lt;form&gt;&lt;![CDATA[ServiceSupport_converted]]&gt;&lt;/form&gt;&lt;addroles&gt;&lt;![CDATA[Administrators]]&gt;&lt;/addroles&gt;&lt;/settings&gt;&lt;/content&gt;</p></p><p>My XMOD module version: 4.2.0.0</p><p>My DNN Installation version: 7.0.6</p>

1 Answer

Loading answers...