Fix: Orchard Error ‘The controller for path '/OrchardLocal/' was not found or does not implement IController.

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

Published Thursday, November 29, 2012 3:40 PM by Ken Cox [MVP]

Comments

# re: Fix: Orchard Error ‘The controller for path '/OrchardLocal/' was not found or does not implement IController.

Monday, April 22, 2013 11:00 AM by ola karlsson

THANK YOU SO MUCH!

I had pretty exactly this happen to me, wasted way to much time but thanks to your post I'm now back on track :)

Leave a Comment

(required) 
(required) 
(optional)
(required)