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.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) +13135952
   System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) +63
   System.String.Format(String format, Object[] args) +73
   genel.SINIFDOMAINOZELDOLDUR(String SirketID, String DomainID, String DilID, String SinifID, SqlConnection sc) in C:\Users\sedat\Source\Workspaces\kolayCAR.Api\kolayCARLibrary-web-NEW-URL\genel.cs:2412
   moduls_aracfilosu02.SINIFDOLDUR() +1767
   moduls_aracfilosu02.Page_Load(Object sender, EventArgs e) +2402
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +9883051
   System.Web.UI.ControlCollection.Add(Control child) +87
   menu.DINAMIKMODULYUKLE(String modul, String modulvarmi, String sayfano, String AracFilosuModulu) +1374
   menu.Page_Prerender(Object sender, EventArgs e) +3662
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +9884298
   System.Web.UI.Control.PreRenderRecursiveInternal() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0