{"id":80,"date":"2009-10-01T23:15:36","date_gmt":"2009-10-01T21:15:36","guid":{"rendered":"http:\/\/jsiegmund.wordpress.com\/?p=80"},"modified":"2013-04-18T18:50:36","modified_gmt":"2013-04-18T17:50:36","slug":"notsupportedexception-in-localized-compact-framework-app","status":"publish","type":"post","link":"http:\/\/blog.repsaj.nl\/index.php\/2009\/10\/notsupportedexception-in-localized-compact-framework-app\/","title":{"rendered":"NotSupportedException in localized Compact Framework app"},"content":{"rendered":"<p>Today I was working on a Pocket PC app using Compact Framework 3.5. The app ran fine on the VS emulator, but when I finally deployed to the actual Pocket PC devices, it started throwing exceptions. The exceptions being thrown were of the\u00a0type\u00a0NotSupportException with the message System.Globalization.CultureInfo. Yeah great error message guys, I can really work with that&#8230;<\/p>\n<p>The weird thing was that some forms were working fine, whilest others weren&#8217;t. I couldn&#8217;t detect any difference in references or code; all exactly the same. Finally I found some posts about the possibility of the resource (.resx) files being corrupted themselves. As a last resort I tried deleting the resource file of one of the forms and recreating it from scratch. And magically! That form started working again!<\/p>\n<p>So apparantly, the cryptical errormessage means your resx file is corrupted somehow. I couldn&#8217;t figure out what was wrong with the other ones, but they all started working again once I had recreated them from scratch.<\/p>\n<p>So if you need the above solution: I hope you don&#8217;t have too much forms to re-edit&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was working on a Pocket PC app using Compact Framework 3.5. The app ran fine on the VS emulator, but when I finally deployed to the actual Pocket PC devices, it started throwing exceptions. The exceptions being thrown were of the\u00a0type\u00a0NotSupportException with the message System.Globalization.CultureInfo. Yeah great error message guys, I can really<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[34],"tags":[15,19,25],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3KFR1-1i","_links":{"self":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/posts\/80"}],"collection":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":0,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}