0

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.