<?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>Devel blog &#187; custom navigation</title>
	<atom:link href="http://devel.pc-serwis.com/tag/custom-navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://devel.pc-serwis.com</link>
	<description>My developer / gentoo user notes</description>
	<lastBuildDate>Tue, 29 Nov 2011 22:43:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Custom navigation provider in &#8211; Sharepoint gives shity errors &#8211; part 1</title>
		<link>http://devel.pc-serwis.com/2009/01/custom-navigation-provider-in-sharepoint-gives-shity-errors-part-1/</link>
		<comments>http://devel.pc-serwis.com/2009/01/custom-navigation-provider-in-sharepoint-gives-shity-errors-part-1/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 21:31:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[custom navigation]]></category>
		<category><![CDATA[navigation provider]]></category>

		<guid isPermaLink="false">http://devel.pc-serwis.com/?p=25</guid>
		<description><![CDATA[Did you received one of following errors in Sharepoint? The DataSourceID of 'TopNavigationMenu' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found. or Exception message: The DataSourceID of 'QuickLaunchMenu' must be the ID of a control of type IHierarchicalDataSource.  A control with ID 'QuickLaunchSiteMap' could [...]]]></description>
			<content:encoded><![CDATA[<p>Did you received one of following errors in Sharepoint?</p>
<p>
<BR/><code><br />
The DataSourceID of 'TopNavigationMenu' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found.<br />
</code><br />
or<br />
<code><br />
Exception message: The DataSourceID of 'QuickLaunchMenu' must be the ID  of a control of type IHierarchicalDataSource.  A control with ID  'QuickLaunchSiteMap' could not be found.<br />
</code>
</p>
<p><BR/><br />
As You propably already find out.. this error is very likely to have  nothing in common with masterpages or layouts..<BR/><br />
In my case error occured immediately after adding my custom navigation provider to web.config (without even using it!)<br />
<BR/><br />
<strong>What was wrong?</strong> Assembly in which was provider was signed and I was not using full assembly string in web.config. Argh.. sometimes I hate sharepoint..</p>
<p>(beside that SafeControl entry is of course also needed)</p>
<p>If above solution does not work in your case try googling more.. a couple of other things causes above errors to appear.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/custom+navigation' rel='tag' target='_blank'>custom navigation</a>, <a class='technorati-link' href='http://technorati.com/tag/navigation+provider' rel='tag' target='_blank'>navigation provider</a>, <a class='technorati-link' href='http://technorati.com/tag/sharepoint' rel='tag' target='_blank'>sharepoint</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://devel.pc-serwis.com/2009/01/custom-navigation-provider-in-sharepoint-gives-shity-errors-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

