Fix: Orchard Error ‘The controller for path '/OrchardLocal/' was not found or does not implement IController.
Posted
by Ken Cox [MVP]
on ASP.net Weblogs
See other posts from ASP.net Weblogs
or by Ken Cox [MVP]
Published on Thu, 29 Nov 2012 19:40:46 GMT
Indexed on
2012/11/29
23:06 UTC
Read the original article
Hit count: 1595
Suddenly, in a local Orchard 1.6 project, I started getting this error in ShellRoute.cs:
The controller for path '/OrchardLocal/' was not found or does not implement IController.
Obviously I had changed something, but the error wasn’t helping much. After losing far too much time, I copied over the original Orchard source code and was back in business. Shortly thereafter, I further flattened my forehead by applying a sudden, solid blow with the lower portion of my palm!
You see, in testing the importing of comments via blogML, I had set the added blog as the Orchard site’s Start page. Then, I deleted the blog so I could test another import batch.
The upshot was that by deleting the blog, Orchard no longer had a default (home) page at the root of the site. The site’s default content was missing.
The fix was to go to the Admin subdirectory (http://localhost:30320/OrchardLocal/admin) . add a new page, and check Set as homepage.
Once again, the problem was between the keyboard and the chair. I hope this helps someone else.
Ken
© ASP.net Weblogs or respective owner