We apologize, but an error has occurred. The web team at Sonos has been notified.

Error:Exception of type 'System.Web.HttpUnhandledException' was thrown.

 


Cannot find column [isoCountryCode].

Server Error in '/' Application.

Cannot find column [isoCountryCode].

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.Data.EvaluateException: Cannot find column [isoCountryCode].

Source Error:


Line 132:                if (thisRegion == "uk") { thisRegion = "gb"; } //UK is the only one that doesn't match!
Line 133:                if (thisRegion == "sv") { thisRegion = "se"; } // SV = el Salvador, so we're overriding to use sweden
Line 134:                if (thiscrDT.Select("isoCountryCode = '" + thisRegion + "'").Count() > 0)
Line 135:                {
Line 136:                    finalCountryVal = thisRegion.ToUpper();

Source File: e:\inetpub\wwwroot_www2\storelocator\Default.aspx.cs    Line: 134

Stack Trace:


[EvaluateException: Cannot find column [isoCountryCode].]
   System.Data.NameNode.Bind(DataTable table, List`1 list) +443
   System.Data.BinaryNode.Bind(DataTable table, List`1 list) +49
   System.Data.DataExpression.Bind(DataTable table) +143
   System.Data.DataTable.Select(String filterExpression) +235
   storelocator_Default.Page_Load(Object sender, EventArgs e) in e:\inetpub\wwwroot_www2\storelocator\Default.aspx.cs:134
   System.Web.UI.Control.LoadRecursive() +95
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2952


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