Page Options
You are here : Forum
HomeHomeCMS DotNetNuke ...CMS DotNetNuke ...LE Laborion Lan...LE Laborion Lan...Cannot Create module on Page.Cannot Create module on Page.
Previous
 
Next
New Post
7/21/2010 5:38 AM
 

Hi There,

Firstly thank you for the module. Its the most necessary thing you need with Localization Extensions Module.

I managed to install the module properly without any errors. But when i tired to put create the module on a page,

it gave me an error below

***********************

Error: Language Selector is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The given key was not present in the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Adequation.DNN.LocalizationExtensions.Laborion.LS.GetLangPage(String languageTag, Int32 index) at Adequation.DNN.LocalizationExtensions.Laborion.LaborionLanguageSelector_Configuration.get_DataLangPagesSource() in c:\inetpub\wwwroot\dotnetnuke\DesktopModules\LE_Laborion_LanguageSelector\LaborionLanguageSelector_Configuration.ascx.cs:line 74 at Adequation.DNN.LocalizationExtensions.Laborion.LaborionLanguageSelector_Configuration.FillLangPage_DataView() in c:\inetpub\wwwroot\dotnetnuke\DesktopModules\LE_Laborion_LanguageSelector\LaborionLanguageSelector_Configuration.ascx.cs:line 148 at Adequation.DNN.LocalizationExtensions.Laborion.LaborionLanguageSelector_Configuration.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\dotnetnuke\DesktopModules\LE_Laborion_LanguageSelector\LaborionLanguageSelector_Configuration.ascx.cs:line 260 --- End of inner exception stack trace ---**************************


I tired it on a complete new installed DNN site, where i get a different error

**********************

Error: LanguageSelector is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: c:\inetpub\wwwroot\dotnetnukeOne\DesktopModules\LE_Laborion_LanguageSelector\LaborionLanguageSelector_Configuration.ascx.cs(271): error CS0103: The name 'LE' does not exist in the current context ---> System.Web.HttpCompileException: c:\inetpub\wwwroot\dotnetnukeOne\DesktopModules\LE_Laborion_LanguageSelector\LaborionLanguageSelector_Configuration.ascx.cs(271): error CS0103: The name 'LE' does not exist in the current context 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) in C:\CCNet_Builds\CE_Maintenance\WorkingDirectory\Library\UI\ControlUtilities.vb:line 59 at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() in C:\CCNet_Builds\CE_Maintenance\WorkingDirectory\Library\UI\Modules\ModuleHost.vb:line 229 --- End of inner exception stack trace ---

****************************

I am using DotnetNuke 5.4.4.

But i believe the version is not the issue.

I would appreicate any help or guidance for this.

Thank you

madhu

 
New Post
7/21/2010 8:18 AM
 

hi There,

I found the problem. The error is coming because of the names of Root pages i had created for the site.

Generally the Localization Extension instructs you to create root pages as en and fr.

But i created it at en-US and el-GR since i use greek. And that was the problem. It was dictLangPages of GetLangPage function was getting only en and el not en-US and el-GR..

So i just renamed my Pages to el and en.. and it works fine now..

anyways thanks for the module.

Madhu

 
New Post
7/21/2010 1:18 PM
 

Thanks for your post
and thanks for your detailed bug reporting, because
from 1.3X versions of Localization Extensions is
- Added: Support for full culture codes (can use root language page such as "en-CA")
www.adequation-dotnetnuke.com/en/Supp...
But my module has error in it.
I will fix it in new releases.

Good luck!

 
New Post
7/29/2010 2:47 PM
 

Hi

Version 01.00.11 - Fixed: Support for full culture codes (can use root language page such as "el-GR","en-GB",...

Good luck!

 
Previous
 
Next
HomeHomeCMS DotNetNuke ...CMS DotNetNuke ...LE Laborion Lan...LE Laborion Lan...Cannot Create module on Page.Cannot Create module on Page.



Copyright 2010 by Kirill Shurevich - LabOrion
Privacy StatementTerms Of Use
Яндекс.Метрика