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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format.DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format.
Previous
 
Next
New Post
3/16/2015 6:36 AM
 

In admin->Event log under "Page Load Exception", I keep getting this error message more often. How to fix this issue?

AssemblyVersion: 7.0.6

PortalID: 0

PortalName: boardrepairs.net

UserID: -1

UserName:

ActiveTabID: 58

ActiveTabName: Home

RawURL: /?ctl=profile&userId=&pageno=3

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.boardrepairs.net/?ctl=profile

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 OPR/26.0.1656.60

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: eaca2aab-2ca3-4ec2-aaae-c0ca3cb99162

InnerException: Input string was not in a correct format.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Number.StringToNumber

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at DotNetNuke.Modules.Admin.Security.SecurityRoles.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.LoadAjaxPanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: XYZ

Thanks

 
New Post
3/16/2015 8:00 AM
 
it looks like there are invalid records, maybe caused by missing users or non-initialized values in roles table.
for the second, you could try running the following script from Host > SQL: https://dnnscript.codeplex.com/releas...
(the script should run in DNN 7.0.6 as well, but I haven't tested this).
You should backup your database before and need to restart DNN after applying the script.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/23/2015 3:49 AM
 
Thanks Sebastian, ran the script in Host>SQL, after running the query didn't find such errors. Will check for 2 to 3 days whether still the issue exist.
 
New Post
3/23/2015 6:26 AM
 
Sebastian Leupold wrote:
it looks like there are invalid records, maybe caused by missing users or non-initialized values in roles table.
for the second, you could try running the following script from Host > SQL: https://dnnscript.codeplex.com/releas...
(the script should run in DNN 7.0.6 as well, but I haven't tested this).
You should backup your database before and need to restart DNN after applying the script.

Even after doing this, the error is not fixed.

 
New Post
3/23/2015 11:13 AM
 
I don't have a clue, maybe there is an invalid setting in PortalSettings or HostSettings table (Null or text instead of a number)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format.DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format.


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