HELP Shipping Settings ERROR

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 лет назад
when i try and go into the shipping settings i am getting this error not sure why, please help!


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:

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: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471335
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
   System.Int32.Parse(String s) +23
   NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings.SettingManager.GetSettingValueInteger(String name, Int32 defaultValue) in SettingManager.cs:268
   NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings.SettingManager.GetSettingValueInteger(String name) in SettingManager.cs:254
   NopSolutions.NopCommerce.BusinessLogic.Shipping.ShippingManager.get_ShippingOrigin() in ShippingManager.cs:492
   NopSolutions.NopCommerce.Web.Administration.Modules.ShippingSettingsControl.BindData() in ShippingSettings.ascx.cs:86
   NopSolutions.NopCommerce.Web.Administration.Modules.ShippingSettingsControl.Page_Load(Object sender, EventArgs e) in ShippingSettings.ascx.cs:45
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
13 лет назад
Looks like you have set one of the shipping settings to a text value when it should be an integer.

You could open up the Nop_Setting table directly.
13 лет назад
Fixed thanks alot.

Shipping.ShippingOrigin.CountryId was set to USA not 1.

Shipping.ShippingOrigin.StateProvinceId was set to Wisconsin not 61.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.