» Home
» 1,000's of Listings
» Check New Listings
» Free Market Analysis
» Mortgage Calculator
» Buying/Selling Tips
» Schools/Community
» Contact Me


Helpful Links
 
Input string was not in a correct format.

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:


Line 56: 			string[] flist = Presets.FullBaths;
Line 57: 			string[] hlist = Presets.HalfBaths;
Line 58: 			string fullBath = Model.Data.Where(x => flist.Contains(x.fld.ToUpper())).Select(x => Convert.ToDecimal(x.value)).Sum(x => x).ToString();
Line 59:             string halfBath = Model.Data.Where(x => hlist.Contains(x.fld.ToUpper())).Select(x => Convert.ToDecimal(x.value)).Sum(x => x).ToString();
Line 60: 			if (!string.IsNullOrWhiteSpace(fullBath) && !string.IsNullOrWhiteSpace(halfBath) && halfBath != "0")

Source File: \\prd-stor-l\websitefiles\ART\MVC\Views\Shared\Detail\_formatCallOuts.cshtml    Line: 58

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +12639413
   System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) +261
   System.Convert.ToDecimal(String value) +112
   ASP._Page_Views_Shared_Detail__formatCallOuts_cshtml.<Execute>b__2(MLSData x) in \\prd-stor-l\websitefiles\ART\MVC\Views\Shared\Detail\_formatCallOuts.cshtml:58
   System.Linq.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x) +29
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +115
   System.Linq.Enumerable.Sum(IEnumerable`1 source) +328
   ASP._Page_Views_Shared_Detail__formatCallOuts_cshtml.Execute() in \\prd-stor-l\websitefiles\ART\MVC\Views\Shared\Detail\_formatCallOuts.cshtml:58
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147
   ASP._Page_Views_Shared_Detail_Theme_1__MainPage_cshtml.Execute() in \\prd-stor-l\websitefiles\ART\MVC\Views\Shared\Detail\Theme_1\_MainPage.cshtml:63
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147
   ASP._Page_Views_Home_Detail_cshtml.Execute() in \\prd-stor-l\websitefiles\ART\MVC\Views\Home\Detail.cshtml:25
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +143
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +181
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +33
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +230
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375


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


Advanced Team Realty, LLC   Ahmed Tahoun, Broker
Advanced Team Realty, LLC
1361 Elm Street Suit 302 • Manchester, NH 03103 Map it
Direct: 603-622-1330 • Cell: 603-674-6888 
Fax: 603-622-1244 
atahoun@advancedteamrealty.com

Login | Privacy Policy | Log in to MLS Property Finder
Copyright © 2014 RLS2000.com, Inc. All rights reserved.
Equal Housing Opportunity