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

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Language Editor - Error after upgrading to 5.4.2 from 5.1.1Language Editor - Error after upgrading to 5.4.2 from 5.1.1
Previous
 
Next
New Post
6/1/2010 12:28 PM
 
Hi,

Error after upgrading to 5.4.2 from 5.1.1:

Error: Language Editor is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Languages.LanguageEditor.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Event Viewer:
ModuleId: 361
ModuleDefId: 99
FriendlyName: Language Editor
ModuleControlSource: DesktopModules/Admin/Languages/languageeditor.ascx
AssemblyVersion: 5.4.2
PortalID: 0
PortalName: Portal Modelo
UserID: 1
UserName: host
ActiveTabID: 45
ActiveTabName: Languages
RawURL: /Admin/Languages.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB0.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.5.30729; MS-RTC LM 8; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a9bc0968-584c-4f41-b966-b0f701310537
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Admin.Languages.LanguageEditor.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Languages.LanguageEditor.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: SBV


Any Ideas?
 
New Post
6/1/2010 6:26 PM
 
when does the error occur? try restart the web site.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/2/2010 12:28 AM
 
Sebastian Leupold wrote:
when does the error occur? try restart the web site.

 

Sebastian,

After few hours of debug (VStudio 2010) I found a line of code where the error occurs, see below:

========================
Languageeditor.ascx.vb:

#Region "Event Handlers"

        ''' -----------------------------------------------------------------------------
        ''' <summary>
        ''' Loads suported locales and shows default values
        ''' </summary>
        ''' <param name="sender"></param>
        ''' <param name="e"></param>
  ''' <remarks>
        ''' </remarks>
        ''' <history>
        '''  [vmasanas] 04/10/2004 Created
        '''  [vmasanas] 25/03/2006 Modified to support new host resources and incremental saving
        ''' </history>
        ''' -----------------------------------------------------------------------------
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                If Not Page.IsPostBack Then
                    ClientAPI.AddButtonConfirm(cmdDelete, Localization.GetString("DeleteItem"))

                    ' init tree
                    InitTree()

                    Dim language As Locale = Localization.GetLocale(Locale)
line 563     lblEditingLanguage.Text = language.Text
================

Language is nothing...

It seems that after upgrading the English language was disabled.
Can you tell me on which table is the field that enables a language?                   

 
New Post
6/2/2010 3:38 AM
 
languages need to be added to tables languages and languageportals afair, you should be able to edit it from admin :: Languages (which now shouldn't call the language editor directly any longer.)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/2/2010 7:34 PM
 
Sebastian Leupold wrote:
languages need to be added to tables languages and languageportals afair, you should be able to edit it from admin :: Languages (which now shouldn't call the language editor directly any longer.)

 Sebastian,

  1. The record languageenabler.ascx was missing from the table ModuleControls.
    1. After adding the registry manually the Language Editor page is displayed.
    2. This is looking like a script error database when upgrading.
  2. The Languageeditor.ascx Control Key is "Null" and needs to be "Editor" (ModuleControls).

  3. All upgrades to version 5.4.2 made successfully had only 1 portal.

There are other errors that are being verified.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Language Editor - Error after upgrading to 5.4.2 from 5.1.1Language Editor - Error after upgrading to 5.4.2 from 5.1.1


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