Error: The site map could not be found for this language: en-us

If you receive the error "The site map could not be found for this language: en-us" when running your ASP.NET website, this usually indicates that you are running your site with developmentMode="false" locally. This error occurs because your website does not have synced content files. Instead, ensure your developmentMode="true", as this will pull down content on-demand to your local environment.

Another possibility for seeing this error is if you are trying to load a site with an incorrect language. Agility.Web is usually smart enough to figure this out and default to your default language, but if you try to set AgilityContext.LanguageCode manually to a non-existent language, you would also get this error.




Please sign in to leave a comment.

Didn't find what you were looking for?

New post