System.FormatException: Input string was not in a correct format.
Hello Guys,
Am trying to deploy BPM online locally but keep getting the error below when I launched the site. 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) +14592920 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +172 System.String.System.IConvertible.ToInt32(IFormatProvider provider) +55 System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) +568 Terrasoft.Redis.ConnectionString.TryGetParameter(String key, T defaultValue) +147 Terrasoft.Redis.RedisConfigSection.get_RedisConnectionConfig() +160 Terrasoft.Redis.RedisClientsManager.InitializeInternalInstance() +108 Terrasoft.Redis.RedisClientsManager.get_Instance() +129 Terrasoft.Redis.BaseRedisStore.Initialize(IDictionary`2 parameters) +13 Terrasoft.Core.AppConnection.InitializeStoreAdaptersSection(StoreAdaptersConfigurationSection section, Type levelType) +243 Terrasoft.Core.AppConnection.InitializeStoreAdapters() +75 Terrasoft.Core.AppConnection.Initialize(ConfigurationSectionGroup appConfigurationSectionGroup) +179 Terrasoft.WebApp.Loader.Global.InitializeAppConnection() +483 Terrasoft.WebApp.Loader.Global.Application_Start(Object sender, EventArgs e) +136 [HttpException (0x80004005): Input string was not in a correct format.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +535 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +166 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329 [HttpException (0x80004005): Input string was not in a correct format.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708
Like
Hello!
There is not too much we can say from this message. Maybe you made some wrong changes in the Web.config or in the ConnectionStrings.config.
Are your trying to deploy a copy of production site or a new one? Have you followed this instruction? I recommend you to go through the instruction again and also review your configs and to compare them to the default.