You need to Register for free and Login to post a message in the forum.

Forum

Subject: New DNN 5.01.02 (51) Install - Can Not Update Admin Site Settings
Prev Next
You are not authorized to post a reply.

Author Messages
Aggiedan97
Nuke Pro
Nuke Pro
Posts:74

05 Sep 2009 3:28 PM  
New Install; no install errors; working great. Attempted to update the Admin Site Settings and received an error. Went back and attempted to select 'Update' without changing anything and still received the error below: Error: Site Settings is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot insert the value NULL into column 'DefaultLanguage', table '(actualdomainnameremoved).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 '(actualdomainnameremoved).dbo.Portals'; column does not allow nulls. UPDATE fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.UpdatePortalInfo(Int32 PortalId, String PortalName, String LogoFile, String FooterText, DateTime ExpiryDate, Int32 UserRegistration, Int32 BannerAdvertising, String Currency, Int32 AdministratorId, Double HostFee, Double HostSpace, Int32 PageQuota, Int32 UserQuota, String PaymentProcessor, String ProcessorUserId, String ProcessorPassword, String Description, String KeyWords, String BackgroundFile, Int32 SiteLogHistory, Int32 SplashTabId, Int32 HomeTabId, Int32 LoginTabId, Int32 UserTabId, String DefaultLanguage, Int32 TimeZoneOffset, String HomeDirectory, Int32 lastModifiedByUserID) at DotNetNuke.Entities.Portals.PortalController.UpdatePortalInfo(Int32 PortalId, String PortalName, String LogoFile, String FooterText, DateTime ExpiryDate, Int32 UserRegistration, Int32 BannerAdvertising, String Currency, Int32 AdministratorId, Double HostFee, Double HostSpace, Int32 PageQuota, Int32 UserQuota, String PaymentProcessor, String ProcessorUserId, String ProcessorPassword, String Description, String KeyWords, String BackgroundFile, Int32 SiteLogHistory, Int32 SplashTabId, Int32 HomeTabId, Int32 LoginTabId, Int32 UserTabId, String DefaultLanguage, Int32 TimeZoneOffset, String HomeDirectory) at DotNetNuke.Modules.Admin.Portals.SiteSettings.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Rashid Kazi
Nuke Pro
Nuke Pro
Posts:74


06 Sep 2009 12:01 AM  
Goto Admin > Site Settings > Advanced Settings > Other Settings, and Check the Default Language is NOT Null or Selected as English (United States).


Rashid KAZI

Rashid.KAZI@DNN4Less.com




The fastest growing DotNetNuke Hosting Company. 24/7/365 Expert Support

Shared Hosting - Virtual Servers - Dedicated Servers



DNN4Less_RK_Signature



Aggiedan97
Nuke Pro
Nuke Pro
Posts:74

06 Sep 2009 5:16 AM  
That did it!
Thanks,
Dan
Jason
Nuke Newbie
Nuke Newbie
Posts:1

12 Sep 2009 9:57 AM  
If there is no language option in the dropdown menu, you can follow this link and run the suggested script to resolve the Language null issue: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10707

It worked for me on a new install of 5.1.2!
Jason
MikePixel
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:13

14 Sep 2009 5:13 AM  
Workaround:

1.Go to the Admin/Languages page
2.Click on the Edit Languages link in the upper left corner of the module
3.Select a language from the Dropdown list.
4.Check the enabled checkbox
5.Click the update button.


Which is at the bottom of the http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10707 page that Jason posted. I did this and it worked to get rid of my admin settings page error.

MikePixel
CornerPixel
Azhar Rahi
Nuke Newbie
Nuke Newbie
Posts:5

14 Sep 2009 12:40 PM  
Unbelievably, when I go to Edit Languages in Admin/Languages, there is no dropdown of languages. Only Language label as well as Fallback Language label is shown. No dropdowns. Only Enabled checkbox is shown there. Whats the problem behind this ?
Joseph Craig
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:6139


14 Sep 2009 7:22 PM  
Step 1:

"go to Admin :: languages, and add "English (United States)". Make sure, it is enabled for your portal. you now may set it to be default language in site settings and in your user profile. subsequently, you are able to disable any other language."

If that doesn't work ...

Step 2:

Follow the instructions in Peter Donker's blog here.

Joe Craig
DNN Creative Support
Subscribe to the website
Azhar Rahi
Nuke Newbie
Nuke Newbie
Posts:5

15 Sep 2009 2:15 AM  
Thanks Joe Craig. The query in step 2 ran fine. But the problem still exits.
I wanted to say that no dropdown is VISIBLE in the Edit Language page. So how can I select "English (United States)" as default language? Empty dropdown is another thing, at least you can see DROPDOWN on the page either empty or filled. But there is no Dropdown visible on the page .... why is this happening ?
Joseph Craig
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:6139


15 Sep 2009 7:51 AM  
OK.  Are you using a standard DotNetNuke skin, or are you using a custom or purchased skin?

Joe Craig
DNN Creative Support
Subscribe to the website
Azhar Rahi
Nuke Newbie
Nuke Newbie
Posts:5

15 Sep 2009 8:43 AM  
I am using Standard DotNetNuke skin.
Azhar Rahi
Nuke Newbie
Nuke Newbie
Posts:5

17 Sep 2009 1:19 AM  
Well the problem has been resolved. Now "English(United States)" is visible in the dropdown.
However I did nothing special to resolve it. After running the step 2, I closed the Explorer and hence removed all sessions. After getting logged in, When I visited the Admin -> Languages page, I found "English(United States)" there in the dropdown.
Thanks for help ...
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > New DNN 5.01.02 (51) Install - Can Not Update Admin Site Settings



ActiveForums 3.7

Latest Forum Posts

Request tutorial on accessing websites by darcy
Hello Lee: I am new to DotNetNuke and downloaded the Community Edition yesterday and I am using Vis...
Request Tutorial For Forms and List by Allen6195
If you have already produced a tutorial for Forms and List, would you please let me know where it is...
RE: Skin Header by mcmanta
ok I edited the home.ascx and inner.ascx and uploaded the skin again. thanks for the help.
RE: "Good" hosting providers by jtgreg77
Hello AJ, I can't say anything about the other two hosting providers, but we at PowerDNN have ha...
Where is the tutorial for the Reports Module? by Allen6195
I'm sorry but I can't find a tutorial on the Reports module.  When I do a search for 'Reports module...
RE: calender and events registration module by jncraig
I'm not aware of any.
RE: Missing blog entries by jncraig
I have not seen or heard of that particular problem before.
RE: Module Installation Error by jncraig
In email I suggested that you manually install one of the modules that failed.  See if errors are re...
RE: DotNetNuke User Profile v5.4 - Issue 58 by jncraig
In the file manager, set the permissions so that logged in users (registered users) have write permi...
RE: Module Installation Error by ollep
Thanks for your prompt reply Joe.I tried the logfile yesterday but had problem saving current (today...
RE: Skin Header by WinXnet
You need to add the link to the button. Right now it is just an image - no link at all! open it with...
RE: Skin Header by mcmanta
sure my web site is twinsprucepa.com if you look I have the header in place but when you click the c...
RE: NAV Menu not showing up correctly... by WinXnet
Try putting something in the separator html, like a div with a class you can work with. Also, y...
RE: Missing blog entries by WinXnet
I never use the dnn blog - it always seems to have issues. If possible, you might want to move to a ...
RE: CSS Skin Height Problem by WinXnet
100% height divs are a bit more complicated than it seems it should be. First - what browsers are...
RE: Skin Header by WinXnet
Not sure what you are asking - you should be able to just create an image button link... Then you...
RE: DotNetNuke User Profile v5.4 - Issue 58 by jerimiahpettigrew
How do you make the "my folder" option the only visible option for the profile image upload....inste...
RE: Tab startdate/enddate by brian_strickland
Thanks tons Joseph... I was actually trying to simplify my explanation so I wouldn't over complicat...
Skin Header by mcmanta
Hello All, I have a DNN5 site and my customer has asked me to create a Contact us button and Dire...
RE: Slow login by jncraig
Make sure that you have uninstalled modules that you aren't actually using.  That will reduce the me...
DotNetNuke Modules
RSS Feeds