Hi everyone
I'm having some major issues with the standard DNN import/export feature, which seems to fail completely.
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.
This process times out after exactly 3 minutes which halts the process halfway through creating a new language. 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 this is found in my logs:
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'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at KnowBetter.XModPro.XModProController.ImportFromXml(String InputXml)
at KnowBetter.XModPro.XModProController.ImportModule(Int32 ModuleID, String Content, String Version, Int32 UserID)
at DotNetNuke.Entities.Modules.ModuleController.LocalizeModuleInternal(ModuleInfo sourceModule)
--
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.
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.
According to DNN support,
Simple export/import test
fails as generated export file is empty:
<?xml version="1.0" encoding="utf-8" ?><content
type="XModPro"
version="04.02.00"><settings><template><![CDATA[]]></template><form><![CDATA[ServiceSupport_converted]]></form><addroles><![CDATA[Administrators]]></addroles></settings></content>
My XMOD module version: 4.2.0.0
My DNN Installation version: 7.0.6