<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technomummy &#187; Sharepoint</title>
	<atom:link href="http://www.technomummy.com.au/tag/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technomummy.com.au</link>
	<description>PC broken? Mummy will kiss it better</description>
	<lastBuildDate>Tue, 04 May 2010 00:21:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Sharepoint &#8211; unexpected error</title>
		<link>http://www.technomummy.com.au/sharepoint-error/</link>
		<comments>http://www.technomummy.com.au/sharepoint-error/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 03:53:04 +0000</pubDate>
		<dc:creator>technomummy</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://www.technomummy.com.au/?p=46</guid>
		<description><![CDATA[OK, so first of all this was the extremely frustrating &#8220;an unexpected error has occurred&#8221;&#8230;. So, first to get a more useful error: This error was coming up in Sharepoint&#8217;s Central Administration page, so first locate  the config file for this site: Right-click My computer, select Manage. Then go to Services and Applications, and select Internet Information [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so first of all this was the extremely frustrating &#8220;an unexpected error has occurred&#8221;&#8230;. So, first to get a more useful error:</p>
<p>This error was coming up in Sharepoint&#8217;s Central Administration page, so first locate  the config file for this site:</p>
<ol>
<li>Right-click My computer, select <strong>Manage</strong>. Then go to <strong>Services and Applications</strong>, and select <strong>Internet Information Service.</strong></li>
<li>Open the Web Sites group, and find the web site giving this error. Right click, choose Properties, go to Home Directory tab. The local path then shows you where the config files are located.</li>
<li>Go to that directory, and open web.config, edit as follows (take a backup first!):
<ul>
<li>Change as follows: find  <strong>SafeMode MaxControls=&#8221;200&#8243; CallStack=&#8221;false&#8221;</strong> , change it to <strong>SafeMode MaxControls=&#8221;200&#8243; CallStack=&#8221;<span style="color: #ff0000;">true</span>&#8220;</strong></li>
<li>Also change <strong>CustomErrors mode=&#8221;On&#8221;</strong> to <strong>&#8220;<span style="color: #ff0000;">Off</span>&#8220;</strong></li>
</ul>
</li>
</ol>
<p>OK! So now I could see my actual error message, which went something like this:</p>
<p><em>The SiteMapProvider &#8216;SPXmlAdminContentMapProvider&#8217; cannot be found.</em></p>
<p>So back to web.config &#8211; a search for SPXMLAdmin found nothing&#8230;. so I located an old copy of this file, and copied this in just before the &lt;/providers&gt; &lt;/sitemap&gt; tags:</p>
<p><strong><span style="color: #ff0000;">&lt;add name=&#8221;SPXmlAdminContentMapProvider&#8221; siteMapFile=&#8221;_app_bin/admin.sitemap&#8221; type=&#8221;Microsoft.SharePoint.Navigation.SPXmlContentMapProvider, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce11e9429c&#8221; /&gt;</span></strong></p>
<p>And voila! Central Administration back up and running. <span style="text-decoration: underline;">Note that I assume that my Public Key Token is unique to my install, and you would need to use the PublicKeyToken from your other web.config entries.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technomummy.com.au/sharepoint-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
