{"id":304,"date":"2008-09-21T02:30:00","date_gmt":"2008-09-21T02:30:00","guid":{"rendered":"https:\/\/brainlitter.itgroove.net\/2008\/09\/21\/sharepoint-illegal-characters\/"},"modified":"2008-09-21T02:30:00","modified_gmt":"2008-09-21T02:30:00","slug":"sharepoint-illegal-characters","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/","title":{"rendered":"SharePoint Illegal Characters"},"content":{"rendered":"<div class=\"ExternalClass207DB9AEDF264FDAB50373652C2B410D\">\n<p>Ran into a very frustrating issue tonight, where my Web Part Connections were breaking, with very little logging\/diagnostic info returned. In fact, depending on the scenario, the most informative information SharePoint (well, ASP.NET really) gave me was stuff like this&#8230;<\/p>\n<p>An error occurred while parsing EntityName. Line <strong><em>x<\/em><\/strong>, position <strong><em>y<\/em><\/strong>. (X and Y will be different for you).<\/p>\n<p>For me, it was that column names for a list (the list works fine) had an Ampersand in it &#8211; you know, one of these &amp;&#8221;. Again, it was fine in a column, but broke the crap out of my web part connections.<\/p>\n<p>So, I had a look and it appears use of ANY of these characters, in Column Names, Files, Folders or Site Names is generally a really bad idea, if you want headaches like I just experienced. Here they are:<\/p>\n<p><strong> # % &amp; * { } : ? \/ + | &#8221; . _<\/strong><\/p>\n<p><u>Additional Notes<\/u>:<\/p>\n<ul>\n<li>Period can&#8217;t be used consecutively in the middle of a name or at the end<\/li>\n<li>Underscore shouldn&#8217;t be used at the start of any name<\/li>\n<li>Spaces are encoded as %20 (3 sharacters) and count to the 240 character Web-DAV file length limit<\/li>\n<\/ul>\n<p>I should note too, that the only reason I even got some useful information to come to this conclusion, was because I had turned on more informative (less user friendly) debugging in my applications web.config file. I blogged about that, earlier tonight (<a href=\"\/brainlitter\/archives\/2008\/09\/sharepoint-debu.htm\">http:\/\/brainlitter.com\/archives\/2008\/09\/sharepoint-debu.htm<\/a>), as all I was getting was useless &#8220;An unexpected error has occurred&#8221; messages.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ran into a very frustrating issue tonight, where my Web Part Connections were breaking, with very little logging\/diagnostic info returned. In fact, depending on the scenario, the most informative information SharePoint (well, ASP.NET really) gave me was stuff like this&#8230; An error occurred while parsing EntityName. Line x, position y. (X and Y will be &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[337,14,338,339],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SharePoint Illegal Characters - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharePoint Illegal Characters - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"Ran into a very frustrating issue tonight, where my Web Part Connections were breaking, with very little logging\/diagnostic info returned. In fact, depending on the scenario, the most informative information SharePoint (well, ASP.NET really) gave me was stuff like this&#8230; An error occurred while parsing EntityName. Line x, position y. (X and Y will be &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2008-09-21T02:30:00+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/\",\"name\":\"SharePoint Illegal Characters - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2008-09-21T02:30:00+00:00\",\"dateModified\":\"2008-09-21T02:30:00+00:00\",\"author\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"http:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SharePoint Illegal Characters\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"http:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharePoint Illegal Characters - Brainlitter - Inside the mind of Sean Wallbridge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/","og_locale":"en_US","og_type":"article","og_title":"SharePoint Illegal Characters - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"Ran into a very frustrating issue tonight, where my Web Part Connections were breaking, with very little logging\/diagnostic info returned. In fact, depending on the scenario, the most informative information SharePoint (well, ASP.NET really) gave me was stuff like this&#8230; An error occurred while parsing EntityName. Line x, position y. (X and Y will be &hellip;","og_url":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2008-09-21T02:30:00+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/","url":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/","name":"SharePoint Illegal Characters - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"http:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2008-09-21T02:30:00+00:00","dateModified":"2008-09-21T02:30:00+00:00","author":{"@id":"http:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/brainlitter\/2008\/09\/21\/sharepoint-illegal-characters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"http:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"SharePoint Illegal Characters"}]},{"@type":"WebSite","@id":"http:\/\/regroove.ca\/brainlitter\/#website","url":"http:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/304"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=304"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}