System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at NHSChoices.Campaigns.Directories.Services.DetailProviders.Transformers.ServiceDetailsQueryTransformer.TransformQueryStringToServiceDetailsQuery(String querystring) at NHSChoices.Campaigns.Directories.Services.ServiceDetailsService.GetCurrentServiceDetailsQuery(String querystring) at NHSChoices.Campaigns.Directories.Sharepoint.Facade.ServiceDetailsService.GetCurrentServiceDetailsQuery(String querystring) at NHSChoices.Campaigns.Directories.Sharepoint.WebParts.LocationInfoWebPart.OnInit(EventArgs e)
Error rendering WebPart
System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at NHSChoices.Campaigns.Directories.Services.DetailProviders.Transformers.ServiceDetailsQueryTransformer.TransformQueryStringToServiceDetailsQuery(String querystring) at NHSChoices.Campaigns.Directories.Services.ServiceDetailsService.GetCurrentServiceDetailsQuery(String querystring) at NHSChoices.Campaigns.Directories.Sharepoint.Facade.ServiceDetailsService.GetCurrentServiceDetailsQuery(String querystring) at NHSChoices.Campaigns.Directories.Sharepoint.WebParts.LocationMapWebPart.OnInit(EventArgs e)