Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created a top navigation bar by implementing PortalSiteMapProvider and deploy it by a web scoped feature. if I create usual Site Collections Path-based SC it works and everything is ok, but if I create a Host-named site collection it generates

System.Web.HttpException the siteMapProvider MyTestTopNavProvider cannot not be found.

I have checked web.config file the provider is there.

thanks for your help.

share|improve this question
I think this is another case where the error is not indicative of the real problem. Could you give an example of a site collection address that works and one that does not? –  spevilgenius Sep 13 '12 at 10:59
Hi, I solved this problem by adding host header to all host-named site collections on the web application. but I think it cannot be a good solution. –  Medes Sep 13 '12 at 11:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.