Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 141899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:51:02+00:00 2026-05-11T07:51:02+00:00

System.Exception: There was an error reading the city list for CANANDA —> System.ArgumentException: Unrecognized

  • 0

System.Exception: There was an error reading the city list for CANANDA —> System.ArgumentException: Unrecognized escape sequence. (1056):

{code: 'CA',cities: [{name: 'Abbotsford',lat: 49029998,lon: -122370002},{name: 'Calgary',lat: 51119998,lon: -114019996},{name: 'Edmonton',lat: 53299999,lon: -113580001},{name: 'Halifax',lat: 44880001,lon: -63500000},{name: 'Hamilton',lat: 43279998,lon: -79900001},{name: 'Kanata',lat: 45319999,lon: -75669998},{name: 'Kelowna',lat: 49970001,lon: -119379997},{name: 'Kingston',lat: 44220001,lon: -76599998},{name: 'London',lat: 43029998,lon: -81150001},{name: 'Mississauga',lat: 43630001,lon: -79400001},{name: 'Moncton',lat: 46119998,lon: -64680000},{name: 'Montreal',lat: 45470001,lon: -73750000},{name: 'Oshawa',lat: 43630001,lon: -79400001},{name: 'Ottawa',lat:45319999,lon: -75669998},{name: 'Peterborough',lat: 44229999,lon: -78370002},{name: 'Prince George',lat: 53880001,lon: -122680000},{name: 'Quebec',lat: 46799999,lon: -71379997},{name: 'Regina',lat: 50430000,lon: -104669998},{name: 'Saint John',lat: 45319999,lon: -65879997},{name: 'Saskatoon',lat: 52169998,lon: -106680000},{name: 'Sherbrooke',lat: 45430000,lon: -71680000},{name: 'St John\x27s',lat: 47619998,lon: -52729999},{name: 'Sydney',lat: 46169998,lon: -60049999},{name: 'Thunder Bay',lat: 48369998,lon: -89319999},{name: 'Toronto',lat: 43630001,lon: -79400001, selected: true},{name: 'Trois-Rivieres',lat: 46349998,lon: -72519996},{name: 'Vancouver',lat: 49180000,lon: -123169998},{name: 'Victoria',lat: 48650001,lon: -123430000},{name: 'Windsor',lat: 42270000,lon: -82970001},{name: 'Winnipeg',lat: 49900001,lon: -97230003}]} 

I think it’s the name ‘St John\x27s’ that is causing the exception. Does that mean the System.Web.Extensions JavaScriptSerializer doesn’t support Unicode?

Or is that actually invalid JSON?

How can I fix this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:51:03+00:00Added an answer on May 11, 2026 at 7:51 am

    \x27 is invalid JSON. Replace it with \u0027.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 122k
  • Answers 122k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If the format example you give is somewhat reliable, something… May 12, 2026 at 12:51 am
  • Editorial Team
    Editorial Team added an answer Mono is certainly a viable option. Since you also develop… May 12, 2026 at 12:51 am
  • Editorial Team
    Editorial Team added an answer Adding something like xmlns:sysioports="clr-namespace:System.IO.Ports;assembly=System" and then changing the <x:Type />… May 12, 2026 at 12:51 am

Related Questions

System.Exception: There was an error reading the city list for CANANDA ---> System.ArgumentException: Unrecognized
I'm trying to create an in-process unit test for my service to client interactions
I've got a problem with a SOAP Web Reference that was generated by Visual
Am getting following error message on calling WCF service: The formatter threw an exception
I'm writing a small WCF/WPF app to resize images but WCF is giving me

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.