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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...String was not recognized as a valid Boolean.String was not recognized as a valid Boolean.
Previous
 
Next
New Post
5/31/2015 7:57 PM
 

I upgraded my installation from 7.3.4 to 7.4.1 and the upgrade was executed without a single issue (successful) but when I clicked view website I got this exception:

Server Error in '/' Application.

String was not recognized as a valid Boolean.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.FormatException: String was not recognized as a valid Boolean.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

[FormatException: String was not recognized as a valid Boolean.]
   System.Boolean.Parse(String value) +14292488
   System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) +811
   DotNetNuke.Collections.CollectionExtensions.ConvertValue(Object value) +295
   DotNetNuke.Entities.Portals.PortalSettingsController.LoadPortalSettings(PortalSettings portalSettings) +867
   DotNetNuke.Entities.Portals.PortalSettings.BuildPortalSettings(Int32 tabId, PortalInfo portal) +52
   DotNetNuke.HttpModules.UrlRewrite.BasicUrlRewriter.RewriteUrl(Object sender, EventArgs e) +1954
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248

 
New Post
5/31/2015 8:00 PM
 
Salem,
please try http://dnnscript.codeplex.com/release..., it should work with DNN 7.4.1 as well.
please backup your database first. You Need to restart DNN to get your changes become effective.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/25/2015 11:56 PM
 

Hi Sebastian:

I did try the link mentioned it did not work but thought of waiting for the latest script release for the 7.4.1 version and again it did not work. (NB ran the  TurboUnSchema for the previous release, AdjustDNNHostSettings, AdjustDNNPortalSettings and AdjustDNNTabSettings prior to the upgrade)

What is confusing, I have two portals (different domains)  on the same installation (and same DB), one is bilingual English/Arabic and the other is English only, the bilingual website generate the error while the English only website does not produce any errors and is up and running

The upgrade (from 7.3.4 to 7.4.1) was executed without generating a single error, and I check the upgrade logs in \Providers\DataProviders\SqlDataProvider and both files 07.04.01.log and 07.04.00.log were empty.

 


 
New Post
6/26/2015 4:53 AM
 
there must still be a PortalSettings value, which should be a Boolean (True, False), but is either a different value or empty.
You may post the content of table here or pm me.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/26/2015 9:00 AM
 

Hi Sebastian:

Many thanks for the help, you are right, to resolve the issue I had to manually change all the settings in the PortalSettings table as some had "True", "False" and some "N", "Y", "Yes",  "No"  as below

I changed all the N and No to False and Y and Yes to True

The table before the changes (removed the API Keys):

 

NB: Portal 0 is originally DNN CE version 4.x  installed in 2008 and has been continually upgraded while Portal 5 was added in version 7. hence it seem to have some settings out of date!


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...String was not recognized as a valid Boolean.String was not recognized as a valid Boolean.


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