{"id":583,"date":"2008-07-01T17:40:37","date_gmt":"2008-07-01T22:40:37","guid":{"rendered":"http:\/\/blogs.devhorizon.com\/reza\/?p=583"},"modified":"2015-02-15T08:31:57","modified_gmt":"2015-02-15T13:31:57","slug":"comsingle-digit-is-a-reserved-word","status":"publish","type":"post","link":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/","title":{"rendered":"com[single digit] is a reserved word"},"content":{"rendered":"<p>In either WSS or MOSS, If you name a site prefixed with the word &#8220;com&#8221; following a single digit &#8211; for example com1,com2&#8230;com9 , SharePoint UI won&#8217;t throw a validation error, but upon browsing to the site , you will get the following nasty errors. Okay , why do I need to call a site prefixed with &#8220;com&#8221;? In our CRM product , we have this notion called &#8220;Communities&#8221;, self-standing collab sites which are derived from within CRM UI. While testing site provisioning code and the underlying site definition and for simplicity , we named the site &#8220;com1&#8221; and observed this behavior.<br \/>\n <strong>Action<\/strong>: Create a site collection or subsite and give it this title and url : com1 or com2 or com3&#8230;&#8230;&#8230;or com0.<br \/>\n <strong>Template<\/strong>: Whatever<br \/>\n <strong>Errors<\/strong>:&#8221;An unexpected error has occurred&#8221; [<a href=\"https:\/\/farm4.static.flickr.com\/3077\/2628532885_f4318c78d6_o.png\">Screenshot<\/a>]<br \/>\n Or<br \/>\n &#8220;The resource cannot be found&#8221; [<a href=\"http:\/\/farm4.static.flickr.com\/3109\/2628532891_c64e434ac7_o.png\">Screenshot<\/a>]<br \/>\n Or<br \/>\n A blank page is shown as default.aspx<\/p>\n<p> While trying com10 , we got &#8220;The page has encountered a critical error&#8221; once [<a href=\"http:\/\/farm4.static.flickr.com\/3166\/2628532893_d84e4f7140_o.png\">Screenshot<\/a>] , but after doing IISRESET we never got that error message again. It was just a <a href=\"http:\/\/farm4.static.flickr.com\/3186\/2628532901_44384ebf88_o.png\">hiccup <\/a>\ud83d\ude42<\/p>\n<p> All the other sites named with com[Double digits] (com01~com09) seem to be working just fine.<\/p>\n<p> <a href=\"http:\/\/www.flickr.com\/photos\/10588849@N00\/2628532907\/\" title=\"TwodigitsAreOkay by bahrez82, on Flickr\"><\/a><\/p>\n<div align=\"center\"><a href=\"http:\/\/www.flickr.com\/photos\/10588849@N00\/2628532907\/\" title=\"TwodigitsAreOkay by bahrez82, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm4.static.flickr.com\/3177\/2628532907_b3045e800c.jpg\" alt=\"TwodigitsAreOkay\" width=\"500\" height=\"324\" \/><\/a><\/div>\n<p>\n It turned out that Com1 through com9 are kind of reserved words , referring to the serial ports. You can\u2019t create a file in the file system called com1 either.<br \/>\n (Thanks to <a href=\"http:\/\/www.toddklindt.com\/blog\/default.aspx\">Todd Klindt<\/a> for pointing me at this one)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In either WSS or MOSS, If you name a site prefixed with the word &#8220;com&#8221; following a single digit &#8211; for example com1,com2&#8230;com9 , SharePoint UI won&#8217;t throw a validation error, but upon browsing to the site , you will get the following nasty errors. Okay , why do I need to call a site [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-583","post","type-post","status-publish","format-standard","hentry","category-moss-2007"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>com[single digit] is a reserved word - Reza Alirezaei&#039;s Blog %<\/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:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Reza Alirezaei\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/\"},\"author\":{\"name\":\"Reza Alirezaei\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\"},\"headline\":\"com[single digit] is a reserved word\",\"datePublished\":\"2008-07-01T22:40:37+00:00\",\"dateModified\":\"2015-02-15T13:31:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/\"},\"wordCount\":240,\"commentCount\":2,\"image\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/farm4.static.flickr.com\\\/3177\\\/2628532907_b3045e800c.jpg\",\"articleSection\":[\"MOSS 2007\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/\",\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/\",\"name\":\"com[single digit] is a reserved word - Reza Alirezaei's Blog %\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/farm4.static.flickr.com\\\/3177\\\/2628532907_b3045e800c.jpg\",\"datePublished\":\"2008-07-01T22:40:37+00:00\",\"dateModified\":\"2015-02-15T13:31:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/07\\\/01\\\/comsingle-digit-is-a-reserved-word\\\/#primaryimage\",\"url\":\"http:\\\/\\\/farm4.static.flickr.com\\\/3177\\\/2628532907_b3045e800c.jpg\",\"contentUrl\":\"http:\\\/\\\/farm4.static.flickr.com\\\/3177\\\/2628532907_b3045e800c.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#website\",\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/\",\"name\":\"Reza Alirezaei's Blog\",\"description\":\"Blogging from the field!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\",\"name\":\"Reza Alirezaei\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"caption\":\"Reza Alirezaei\"},\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/author\\\/rezaa\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"com[single digit] is a reserved word - Reza Alirezaei's Blog %","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:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/","twitter_misc":{"Written by":"Reza Alirezaei","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/#article","isPartOf":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/"},"author":{"name":"Reza Alirezaei","@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938"},"headline":"com[single digit] is a reserved word","datePublished":"2008-07-01T22:40:37+00:00","dateModified":"2015-02-15T13:31:57+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/"},"wordCount":240,"commentCount":2,"image":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/#primaryimage"},"thumbnailUrl":"http:\/\/farm4.static.flickr.com\/3177\/2628532907_b3045e800c.jpg","articleSection":["MOSS 2007"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/","url":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/","name":"com[single digit] is a reserved word - Reza Alirezaei's Blog %","isPartOf":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/#primaryimage"},"image":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/#primaryimage"},"thumbnailUrl":"http:\/\/farm4.static.flickr.com\/3177\/2628532907_b3045e800c.jpg","datePublished":"2008-07-01T22:40:37+00:00","dateModified":"2015-02-15T13:31:57+00:00","author":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/07\/01\/comsingle-digit-is-a-reserved-word\/#primaryimage","url":"http:\/\/farm4.static.flickr.com\/3177\/2628532907_b3045e800c.jpg","contentUrl":"http:\/\/farm4.static.flickr.com\/3177\/2628532907_b3045e800c.jpg"},{"@type":"WebSite","@id":"https:\/\/blogs.devhorizon.com\/reza\/#website","url":"https:\/\/blogs.devhorizon.com\/reza\/","name":"Reza Alirezaei's Blog","description":"Blogging from the field!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.devhorizon.com\/reza\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938","name":"Reza Alirezaei","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","caption":"Reza Alirezaei"},"url":"https:\/\/blogs.devhorizon.com\/reza\/author\/rezaa\/"}]}},"_links":{"self":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/comments?post=583"}],"version-history":[{"count":1,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/583\/revisions"}],"predecessor-version":[{"id":1939,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/583\/revisions\/1939"}],"wp:attachment":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/media?parent=583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/categories?post=583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/tags?post=583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}