{"id":812,"date":"2011-11-05T08:28:28","date_gmt":"2011-11-05T15:28:28","guid":{"rendered":"http:\/\/blog.brainlitter.com\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/"},"modified":"2011-11-05T08:28:28","modified_gmt":"2011-11-05T15:28:28","slug":"access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/","title":{"rendered":"Access Denied to a site collection, even to SharePoint Site Collection Administrators"},"content":{"rendered":"<p>This is now the second time I\u2019ve seen this, but it is still a rarity and you should only do the following in extreme circumstances once you\u2019ve determined it isn\u2019t something else.<\/p>\n<h2>The Problem<\/h2>\n<p>A SharePoint Farm is humming along nicely when WHAM! all of a sudden you can\u2019t login to your SharePoint Web Application, yet Central Admin is probably fine. No errors to speak of, no evidence of tampering. Access Denied for everyone including Site Collection Administrators.<\/p>\n<h2>The Reason<\/h2>\n<p>In our case it wasn\u2019t clear. For the one customer, there is a \u201crogue SharePoint Admin\u201d that we could easily lay blame on, but we won\u2019t, at least out loud\u2026 ;). But my other instinct, based on the fact\/timing of when it occurred (our http monitoring caught the almost exact time of the failure *and* backups were in the thick of it at the time) is that either running a file system backup somehow thwacked it, or antivirus, or a combination of the two (one of them locks the file and chaos ensues\u2026).<\/p>\n<blockquote><p><b><i>Stooopid<\/i><\/b> Antivirus <b><i>Grumble<\/i><\/b> Backup <b><i>Snarl<\/i><\/b> Software.<\/p><\/blockquote>\n<h2>The Solution<\/h2>\n<p>So in our case, the database was actually AOK.<\/p>\n<p>The solution was to:<\/p>\n<ol>\n<li>Delete the web application (but not the content database)<\/li>\n<li>Recreate the web application and reattach the content database(s)<\/li>\n<\/ol>\n<blockquote><p><i>Now the above is super-simplifying it, so let\u2019s add a little more detail, to ensure nothing is missed<\/i><\/p><\/blockquote>\n<ol>\n<li>Backup your Content Database(s) just in case you tick the wrong box <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-winkingsmile\" style=\"border-style: none\" src=\"\/wp-content\/uploads\/brainlitter\/2011\/11\/wlEmoticon-winkingsmile.png\" alt=\"Winking smile\" \/><\/li>\n<li>Take an inventory of all the web application customizations (or refer to your notes, you do have good notes right?)<\/li>\n<\/ol>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li>General Settings<\/li>\n<li>Managed Paths<\/li>\n<li>Customizations in the <strong>web.config<\/strong> (hell, you <u>should<\/u> be backing up that too before you do what I\u2019m suggesting, <u>hint<\/u>)<\/li>\n<li>Attached content databases<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><!--EndFragment--><\/p>\n<ol>\n<li>Once you know you have everything to recreate the web application, delete it (but do not delete the databases)<\/li>\n<li>Do an IISRESET for good measure<\/li>\n<li>Recreate the Web Application and using that handy inventory you took, get everything back to a working state. When you create the web application, you can specify the existing database and simply reattach any others after the fact<\/li>\n<\/ol>\n<p>Happy Hunting!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is now the second time I\u2019ve seen this, but it is still a rarity and you should only do the following in extreme circumstances once you\u2019ve determined it isn\u2019t something else. The Problem A SharePoint Farm is humming along nicely when WHAM! all of a sudden you can\u2019t login to your SharePoint Web Application, &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/\"><\/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":[14,334,453,450],"tags":[328,477,478],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Access Denied to a site collection, even to SharePoint Site Collection Administrators - 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\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Access Denied to a site collection, even to SharePoint Site Collection Administrators - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"This is now the second time I\u2019ve seen this, but it is still a rarity and you should only do the following in extreme circumstances once you\u2019ve determined it isn\u2019t something else. The Problem A SharePoint Farm is humming along nicely when WHAM! all of a sudden you can\u2019t login to your SharePoint Web Application, &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2011-11-05T15:28:28+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/\",\"name\":\"Access Denied to a site collection, even to SharePoint Site Collection Administrators - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2011-11-05T15:28:28+00:00\",\"dateModified\":\"2011-11-05T15:28:28+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access Denied to a site collection, even to SharePoint Site Collection Administrators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/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\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/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":"Access Denied to a site collection, even to SharePoint Site Collection Administrators - 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\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/","og_locale":"en_US","og_type":"article","og_title":"Access Denied to a site collection, even to SharePoint Site Collection Administrators - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"This is now the second time I\u2019ve seen this, but it is still a rarity and you should only do the following in extreme circumstances once you\u2019ve determined it isn\u2019t something else. The Problem A SharePoint Farm is humming along nicely when WHAM! all of a sudden you can\u2019t login to your SharePoint Web Application, &hellip;","og_url":"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2011-11-05T15:28:28+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/","url":"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/","name":"Access Denied to a site collection, even to SharePoint Site Collection Administrators - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2011-11-05T15:28:28+00:00","dateModified":"2011-11-05T15:28:28+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/brainlitter\/2011\/11\/05\/access-denied-to-a-site-collection-even-to-sharepoint-site-collection-administrators\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"Access Denied to a site collection, even to SharePoint Site Collection Administrators"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/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":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/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\/812"}],"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=812"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/812\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}