<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SharePoint Error Delete Site WebDeleted.aspx File Not Found</title>
	<atom:link href="http://blog.richardramdat.com/2010/01/sharepoint-error-delete-site-webdeleted-aspx-file-not-found/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.richardramdat.com/2010/01/sharepoint-error-delete-site-webdeleted-aspx-file-not-found/</link>
	<description></description>
	<lastBuildDate>Thu, 15 Dec 2011 06:22:07 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dennis Flagg</title>
		<link>http://blog.richardramdat.com/2010/01/sharepoint-error-delete-site-webdeleted-aspx-file-not-found/comment-page-1/#comment-518</link>
		<dc:creator>Dennis Flagg</dc:creator>
		<pubDate>Tue, 12 Apr 2011 05:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.richardramdat.com/?p=196#comment-518</guid>
		<description>When receiving the File not found error, it is important to look at the stack trace carefully.  It gives clues as to what the problem is.  It would be nice if it indicated what the actual problem was, but this is SharePoint.  If the stack trace indicates that it&#039;s failing when trying to open a SPSite/SPWeb then there might be controls on your custom simple.master page that can&#039;t render.  They can&#039;t render because they assume that the site/web still exist, and then try to get a reference to it.  Take a look at how the url is structured, http://mydomain/sitename/_layouts/webdeleted.aspx.  The virtual directory, _layouts, is getting accessed by a site that doesn&#039;t exist anymore. This is why the out of the box webdeleted page doesn&#039;t have controls on it that reference the current site. Take a look at the code for the simple.master and the webdeleted.aspx file.  Everything in them is either static or non-site specific.  You can test this very easy to see if this is your problem.  Create a new site, then in the browser type http://mydomain/newsite/_layouts/webdeleted.aspx.  This will not delete the site, but it will display a deleted confirmation page. If the confirmation page renders without the file not found error, then this is most likely the issue.  To fix this, go into the custom simple.master and remove anything that is site specific. For example site actions buttons or access to lists in the current context.   Happy coding!</description>
		<content:encoded><![CDATA[<p>When receiving the File not found error, it is important to look at the stack trace carefully.  It gives clues as to what the problem is.  It would be nice if it indicated what the actual problem was, but this is SharePoint.  If the stack trace indicates that it&#8217;s failing when trying to open a SPSite/SPWeb then there might be controls on your custom simple.master page that can&#8217;t render.  They can&#8217;t render because they assume that the site/web still exist, and then try to get a reference to it.  Take a look at how the url is structured, <a href="http://mydomain/sitename/_layouts/webdeleted.aspx" rel="nofollow">http://mydomain/sitename/_layouts/webdeleted.aspx</a>.  The virtual directory, _layouts, is getting accessed by a site that doesn&#8217;t exist anymore. This is why the out of the box webdeleted page doesn&#8217;t have controls on it that reference the current site. Take a look at the code for the simple.master and the webdeleted.aspx file.  Everything in them is either static or non-site specific.  You can test this very easy to see if this is your problem.  Create a new site, then in the browser type <a href="http://mydomain/newsite/_layouts/webdeleted.aspx" rel="nofollow">http://mydomain/newsite/_layouts/webdeleted.aspx</a>.  This will not delete the site, but it will display a deleted confirmation page. If the confirmation page renders without the file not found error, then this is most likely the issue.  To fix this, go into the custom simple.master and remove anything that is site specific. For example site actions buttons or access to lists in the current context.   Happy coding!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richard</title>
		<link>http://blog.richardramdat.com/2010/01/sharepoint-error-delete-site-webdeleted-aspx-file-not-found/comment-page-1/#comment-365</link>
		<dc:creator>richard</dc:creator>
		<pubDate>Wed, 10 Nov 2010 03:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.richardramdat.com/?p=196#comment-365</guid>
		<description>Hi Kay, we left any page using simple.master unbranded. Most pages using simple.master are restricted to the site administrators, so users typically will never see those pages (like a confirmation page that a site has been deleted).</description>
		<content:encoded><![CDATA[<p>Hi Kay, we left any page using simple.master unbranded. Most pages using simple.master are restricted to the site administrators, so users typically will never see those pages (like a confirmation page that a site has been deleted).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kay</title>
		<link>http://blog.richardramdat.com/2010/01/sharepoint-error-delete-site-webdeleted-aspx-file-not-found/comment-page-1/#comment-364</link>
		<dc:creator>Kay</dc:creator>
		<pubDate>Thu, 04 Nov 2010 17:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.richardramdat.com/?p=196#comment-364</guid>
		<description>I am running into the same problem.  How did you get your custom branding accomplished without hardcoding these changes into the base default simple.master file?

Thank you.
Kay</description>
		<content:encoded><![CDATA[<p>I am running into the same problem.  How did you get your custom branding accomplished without hardcoding these changes into the base default simple.master file?</p>
<p>Thank you.<br />
Kay</p>
]]></content:encoded>
	</item>
</channel>
</rss>

