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 ...Input string was not in a correct format errorInput string was not in a correct format error
Previous
 
Next
New Post
12/25/2007 8:03 PM
 

We have dotnetnuke site for a while, then all of sudden, we got the following error when launch the site:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Input string was not in a correct format.
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: Input string was not in a correct format.

Source Error:


Line 229:                Me.SiteLogHistory = IIf(IsDBNull(result("SiteLogHistory")), -1, result("SiteLogHistory"))
Line 230:                Me.AdminTabId = result("AdminTabId").ToString
Line 231:                Me.SuperUserId = result("SuperUserId").ToString
Line 232:                Me.SuperTabId = result("SuperTabId").ToString
Line 233:
 

Source File: C:\Inetpub\wwwroot\reseller\Components\Configuration.vb    Line: 231

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat) +195
   Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value) +97

[InvalidCastException: Cast from string "" to type 'Integer' is not valid.]
   Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value) +212
   DotNetNuke.PortalSettings.GetPortalSettings(Int32 tabId, String PortalAlias) in C:\Inetpub\wwwroot\reseller\Components\Configuration.vb:231
   DotNetNuke.PortalSettings..ctor(Int32 tabId, String PortalAlias, String ApplicationPath) in C:\Inetpub\wwwroot\reseller\Components\Configuration.vb:185
   DotNetNuke.Global.Application_BeginRequest(Object sender, EventArgs e) in C:\Inetpub\wwwroot\reseller\Global.asax.vb:128
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

 --------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Any advice is appreciated.

Thanks

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Input string was not in a correct format errorInput string was not in a correct format error


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