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...Administration ...Administration ...Language Management not available after Upgrade from DNN 6 to DNN 7Language Management not available after Upgrade from DNN 6 to DNN 7
Previous
 
Next
New Post
9/1/2016 10:28 AM
 

Hi,

I am trying to upgrade a site from DNN 6.2.5 to 7.4.2. The site has en-US disabled and de-AT as the default language, no other languages are installed and dynamic localization is not enabled. There is only one portal in this installation.

First I tried to upgrade directly, and everything seemed to work fine - until I upgraded one of the third party modules and wanted to check if the language resource files had changed and entered the page Admin :: Languages. There I got an error message saying the module is not available. I changed to debug mode (in web.config) and found out that the exception is fired in the file LanguageEnabler.cs, line 363. The line reads:

installAvailableLanguagePackLink.NavigateUrl = string.Format("{0}#availableExtensions", tab.FullUrl)

I then restored the 6.2.5 installation and following the suggested upgrade path, I upgraded to DNN 6.2.8. I went to Admin :: Languages, everything worked fine. I then upgraded to 7.3.2, the upgrade went without any errors, but again, on the page Admin :: Languages this error:

Error: Language Management is not available. 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.LanguageEnabler. (EventArgs e) in d:\Web\Intranet\DesktopModules\Admin\Languages\LanguageEnabler.ascx.cs:line 365 --- End of inner exception stack trace ---

This time, it was line 365, but it is the "same" line as above.

Any ideas?

Happy DNNing!
Michael

 


Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
9/1/2016 5:01 PM
 
if you move to advanced URLs, you need to make sure there is a valid preferred alias for each language.
What is the fallback language of your de-AT language?

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/2/2016 3:03 AM
 

Sebastian,

thank you for your answer. I have not moved to advanced urls (yet). The fallback is "System default". Again, the problem is: The whole site works fine, except the Language Management module on the page Admin :: Languages fires this exception.

The PortalAlias table contains only a single record:

PortalAliasID PortalID HTTPAlias CreatedByUserID CreatedOnDate LastModifiedByUserID LastModifiedOnDate BrowserType Skin CultureCode IsPrimary
1 0 xxx.xxx -1 2011-11-11 09:23:27.030 -1 2011-11-11 09:23:27.030 NULL NULL NULL 1

Any idea?

Happy DNNing!
Michael


Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
9/2/2016 5:15 AM
 
it looks like installAvailableLanguagePackLink is not set (or tab, which wouldn't make much sense).
What happens, if you temporarily enable en-US?

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/5/2016 2:18 AM
 
Sebastian,

I can only set this before upgrading to version 7 - I did, and the same thing happens (with the little difference that the language code appears in the URL). I also tried to set en-US as the default language, that did not help either.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Language Management not available after Upgrade from DNN 6 to DNN 7Language Management not available after Upgrade from DNN 6 to DNN 7


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out