Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11/23/2006 9:29 PM by  Peter Donker
Exception after selecting German language
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Holger Kopf
New Member
New Member
Posts:57


--
11/21/2006 2:28 PM

    Hi,
    if i select German instead of English at my DNN (4.3.6) i got the following error with your DMX (03.04.08 .Net2).

    What is the reason for that ?

    Method: DotNetNuke.Services.Localization.Localization.LoadResource
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Beim Hinzufügen des Moduls zu ContentPane ist ein Fehler aufgetreten. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Localization.Localization.LoadResource(Hashtable target, String language, String cacheKey, String ResourceFile, CustomizedLocale CheckCustomCulture, PortalSettings objPortalSettings) at DotNetNuke.Services.Localization.Localization.GetResource(String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot) at Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase.GetExtensions(String ForType) at Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase.GetButtonList() at Bring2mind.DNN.Modules.DMX.Dispatch.MyInitialize() at Bring2mind.DNN.Modules.DMX.Dispatch.a(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

    Regards

    Holger

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    11/21/2006 11:51 PM
    Bad German localization. It will have to be redone. Do you feel like doing this? The original translator probably didn't mke sure the encoding of files was always correct.
    Holger Kopf
    New Member
    New Member
    Posts:57


    --
    11/22/2006 8:47 AM
    What file makes the problem ?
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    11/22/2006 9:59 AM
    Most likely candidate is the DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources.ascx.de-DE.resx file. Check for file coding issues and xml validness.
    Holger Kopf
    New Member
    New Member
    Posts:57


    --
    11/22/2006 12:46 PM
    The problem was DesktopModules\Bring2mind\DMX\Addons\MailDoc\App_LocalResources\SharedResources.ascx.de-DE.resx !
    (I installed the MailDoc 1.0.5)

    This is my working file:

    [quote]





























    text/microsoft-resx


    1.0.0.0


    System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089


    System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089





    Versendet


    Versende Dokument(e)


    Versende Dokumente


    Versende Dokument

    [/quote]
    Holger Kopf
    New Member
    New Member
    Posts:57


    --
    11/22/2006 12:56 PM
    the problem is also in FR and NL localization.

    The following things are missing or not correct set:





    Mail Documents


    Mail Document
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    11/23/2006 9:29 PM
    Holger,
    Unfortunately xml doesn't make it across in the forum. There is more hope for the German lang pack as I was contacted recently by some German-speaking students that wanted my module for a project. Let's see if they can filter out all issues.
    Peter
    You are not authorized to post a reply.