Buck Anderson - DNN Professor Member Login
May 21, 2012

Article Search  
Article Index

Click to grab the RSS feed for the DNN Professor Article IndexDotNetNuke Tutorials and Articles

We cover a lot of different DNN topics on this site - this article index gives you a pretty good idea of the DotNetNuke tutorials, XMod tutorials, DNN training, DNN hosting, and Internet Marketing subjects we cover for beginners and advanced DotNetNuke users.

The following is a complete index of all articles on this site - presented in the most current to oldest article sequence. You can view categories and search the index by subject.

Check back often for new articles, tips on our Business Directory, or have articles conveniently delivered to your favorite program by clicking the RSS feed icon above.


Share    
14
DotNetNuke 5.1.2 Default Language Error Fix

I have discovered this error to only occur on fresh installs of DNN 5.1.2. If you have upgraded to DNN 5.1.2 from a previous version of DotNetNuke 5+ you should not receive the error.

Below is a truncated version of the error I received:

Error: Site Settings is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot insert the value NULL into column 'DefaultLanguage', table 'dnndev.dbo.Portals'; column does not allow nulls. UPDATE fails. The statement has been terminated. ---> System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'DefaultLanguage', table 'dnndev.dbo.Portals'; column does not allow nulls. UPDATE fails. The statement has been terminated....

I discovered that the error was caused  by no default value had been set on the Admin tab >> Other Settings >> Default Language dropdown.

DotNetNuke Default Language

To correct the error:

Step 1

While logged in as Host account, I went t   Admin Tab >> Languages.

DotNetNuke Admin Tab >> Languages

Step 2.

I selected my choice of default language.

Edit Default Language

Step 3.

I edited the language and enabled it.

Enable language in DotNetNuke Admin >> Languages

Step 4.

I returned to Admin Settings and the default language dropdown was now propagated.

DotNetNuke Default language now activated

Step 5.

I updated the Admin Settings and the error is corrected.

Update DotNetNuke Admin Settings

Enjoy,
Buck

Posted in: DotNetNuke

Share    

Post Rating

Comments

William
Monday, September 21, 2009 4:14 PM
THANKS!
I just ran into this and you saved me a big headache.
William
Orlando
# Orlando
Thursday, September 24, 2009 1:05 AM
MANY THANKS! I was pulling hairs on this problem.
Tobbe
# Tobbe
Monday, September 28, 2009 3:53 PM
But what if the Language dropdown in Admin - Languages is empty as well.
Buck
# Buck
Monday, September 28, 2009 4:54 PM
Tobbe, here is a link to a Google search I performed in FireFox that lists all the current site links regarding the issue - http://www.google.com/search?q=DNN+5.1.2+default+language+error&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Eduardo Cruz
# Eduardo Cruz
Thursday, October 01, 2009 12:27 PM
I was having the same problem as Tobbe. The dropdown in Admin - Languages was empty... Table "Languages" in db was empty too...

I just clicked the link "Edit Language", and it took me to a screen where I could add languagues. I added the English (US) language, and everything is solved.
Romain
# Romain
Thursday, October 08, 2009 4:02 AM
Thanks for this article !
DavidE
# DavidE
Monday, October 12, 2009 3:59 PM
Thanks for the post! Very helpful as I was having this issue when I upgraded from 4.9.x to 5.1.4.

QTech
Thursday, October 22, 2009 1:07 AM
3 reinstalls, 3!! and that was the easiest fix ever, thankyou so very much!!
Justin
Tuesday, October 27, 2009 10:52 AM
Thank you SO MUCH! Big save.
Ralph Williams
Friday, December 11, 2009 10:54 PM
Fantastic! Very helpful. Had it fixed in about 2 minutes. By the way, love screenshots, helps a million!

Ralph
John
# John
Monday, January 04, 2010 11:34 AM
I do not have a language link under admin. any ideas?
Clay
# Clay
Tuesday, January 19, 2010 5:13 PM
Buck,
I am having trouble getting dotnetnuke to download. I am using vista and the Microsoft download platform that dotnetnuke has me use says that my "operationg system is not supported"?? Any recommendations?
Buck
# Buck
Tuesday, January 19, 2010 6:21 PM
DotNetNuke installation instructions can be downloaded at http://www.dotnetnuke.com/tabid/125/default.aspx
William
Tuesday, January 19, 2010 7:05 PM
How does one turn off notifications if one does not have a login? I posted using the "Post Comment" form.
Arunabh Das
# Arunabh Das
Thursday, March 25, 2010 11:03 AM
Am running DNN 5.0 and have 2 languages installed. However, there is no Admin -> Other Settings -> Default Language option. Also, enabling English under Admin -> Languages is not causing the default language to be set to English. Please help. Thanks. - Arunabh Das

Join the Discussion!


Buck Anderson - DNN ProfessorLet us know what you think. Or ask us anything. Or offer your own sage advice.

The only rule: RESPECT THIS HOUSE! Postings that contain abusive language and/or personal attacks will be cheerfully VAPORIZED. One cross word and – POOF! – your well-thought-out post will be gone in a puff of smoke.

          Buck

RSS comment feed RSS feed for comments on this post | Permalink URL

Note: For security, public comments require an Email address (Email will not be published and is also used for your Gravatar image)

Post Comment

Only registered users may post comments.


Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map