Input string was not in a correct format.

Server Error in '/contentmanager' 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) +7469351
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
   System.Xml.XmlConvert.ToInt32(String s) +43
   GJ.XMLUtil.ToInt4(String str) +36
   GJ.Int4DTH.ParseXML(String str) +40
   GJ.CMS.ObjectHandler.GetObjectKey(Context ctx) +139
   GJ.CMS.ViewObjectScript..ctor(InstanceContext ctx) +192

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0
   System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +15
   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +249
   System.Reflection.ConstructorInfo.Invoke(Object[] parameters) +17
   GJ.CMS.ScriptFactory.GetScript(Plugin plugin, InstanceContext ctx, String scriptName) +165
   GJ.CMS.Instance.GetScript(InstanceContext ctx, String scriptName) +78
   GJ.CMS.WebHandler.ProcessRequest(HttpContext context) +518
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614