Learn More





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 ...Site Settings is not configuring itself when created on a child portalSite Settings is not configuring itself when created on a child portal
New Post
7/15/2015 9:09 PM

Site Settings cannot be browsed to on child portals, getting this error:

Error: Site Settings is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: String was not recognized as a valid Boolean. ---> System.FormatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at System.String.System.IConvertible.ToBoolean(IFormatProvider provider) at System.Convert.ToBoolean(Object value) at DotNetNuke.Web.UI.WebControls.DnnFormToggleButtonItem.CreateControlInternal(Control container) at DotNetNuke.Web.UI.WebControls.DnnFormItemBase.CreateControlHierarchy() at DotNetNuke.Web.UI.WebControls.DnnFormItemBase.DataBindItem(Boolean useDataSource) at DotNetNuke.Web.UI.WebControls.DnnFormEditor.DataBindItems(Boolean useDataSource) at DotNetNuke.Web.UI.WebControls.DnnFormEditor.CreateControlHierarchy(Boolean useDataSource) at DotNetNuke.Web.UI.WebControls.DnnFormEditor.DataBind() at DesktopModules.Admin.Portals.SiteSettings.BindUserAccountSettings(PortalInfo portal, String activeLanguage) at DesktopModules.Admin.Portals.SiteSettings.BindPortal(Int32 portalId, String activeLanguage) at DesktopModules.Admin.Portals.SiteSettings. (EventArgs e) --- End of inner exception stack trace ---


When selecting the template items, all admin pages are selected.  This is the only one not configuring and the error is too generic to figure out what's up.

It appears the Site Settings Module is not copying over.  Was going to try installing it on the portal to see what would happen but even on portal 0, there is no Site Settings module.  It exists of course but not as a package that can be imported, apparently.

Any help is appreciated.

New Post
7/16/2015 3:52 AM
you may try running and restart DNN.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
7/16/2015 9:24 PM

Works Great!

However ... because it is not setting up upon portal creation the Logo / Fav Icon is also not setting up.  We apparently need to run this script every time a child portal is made and then programmatically set up the Logo and Fav Icon.

Programmatic solution is not a problem ... if there is a script that will find and set these icons up (the one in the site tab) and the large logo, perfect.  If not I'll write one and push it up.

Let me know.

New Post
7/19/2015 6:03 PM


This script works fine for setting up our skin object logo in the upper left as shown but does not change the Favicon unless we manually upload it.  All that has to happen for the upper left logo is to copy the image to the child portal root and use the script below to set the files / folders tables.  Refresh the site and the logo is there.

Thus, for the upper left logo, just using System.File.IO methods to copy it and running the script with the right portal id values, etc. fixes this logo programmatically.

The same script applied to the Fav Icon doesn't work.  Comparing the Fav Icon Files/Folders entry after the script is run to the same entry that gets updated if Site Settings API is used, there's no difference in the records in the Files and Folders tables.  I ran the script for the favicon, then copied with headers to an Excel file.  Then did the Site Settings API upload and inserted this below the record already in the Excel file.

The only thing I can think of is the local cache is not cleared unless the API is used.  So even though the Files / Folders is right for the favicon with the script, it's persisted locally until the Site Settings API is used and then the cache is cleared.

 If I'm missing something in my script let me know.

Here is the script:

--SET @FILENAME = 'purpleOnlyFlavicon.ico' -- for the favicon, our skins guy named it "flavi" probabaly for Flava Flav, a rapper
SET @FILENAME = 'ABFR_none_horizontal.png' -- for the upper left logo


FROM dbo.Files

WHERE Portalid = 0  
AND CreatedByUserID = 1




, Extension
, Width
, Height
, ContentType
, (SELECT folderid FROM dbo.Folders WHERE PortalId  = @PORTALID AND FOLDERPATH LIKE '') AS FolderId
, Content
, 1 -- createdy by user
, GETDATE() -- created on date, take default
, 1 -- last modified by user
, GETDATE()-- last modified on date take default
, NEWID()-- unique id take default
, NEWID()-- version guid take default
, SHA1Hash-- SHA1Hash take default
, GETDATE()-- last modification time take default
, Title
, GETDATE() AS StartDate
, EnablePublishPeriod
, EndDate
, PublishedVersion
, ContentItemID


--SELECT * FROM DBO.FILES WHERE FILENAME LIKE '%' + 'purpleOnlyFlavicon.ico'

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Site Settings is not configuring itself when created on a child portalSite Settings is not configuring itself when created on a child portal

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?