Input string was not in a correct format.

Sep 25, 2009 at 11:19 AM

Hi All,

I installed the CRM website as in the instructions in the Tustena Quick Installations steps.txt file, but get this error when I browse to the site.

 

Stack Trace:

[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7469351
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
   System.Int32.Parse(String s, IFormatProvider provider) +25
   System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp) +561
   System.Diagnostics.PerformanceCounterLib.get_NameTable() +76
   System.Diagnostics.PerformanceCounterLib.get_CategoryTable() +749
   System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists) +25
   System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter) +89
   System.Diagnostics.PerformanceCounter.Initialize() +600
   System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly) +115
   System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName) +14
   Digita.Tustena.Compress.Module..cctor() +38

[TypeInitializationException: The type initializer for 'Digita.Tustena.Compress.Module' threw an exception.]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
   System.Web.Configuration.Common.ModulesEntry.Create() +39
   System.Web.Configuration.HttpModulesSection.CreateModules() +164
   System.Web.HttpApplication.InitModules() +28
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
Any idea what's wrong in here??
Thanks,

Shabbir
Jun 6, 2011 at 12:14 PM

hi every one

i had the same  problem ,but temrary soled it

the solution :

comment  the below line inside web config

<add name="TustenaCompress" type="Digita.Tustena.Compress.Module, TustenaCompress"/>

steel do not  know why

thanks

 

 

Apr 28, 2016 at 11:14 AM
Hey look i also wanted to develop application like this so please help me out with this, regarding requirements of coding and all