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 :)

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

Friday, May 17, 2013 2:23 AM by Ben Power

Well done, saved me some time!

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

Saturday, October 12, 2013 7:14 AM by PawełWu

It helped!

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

Monday, March 10, 2014 5:47 AM by Raju Gadhiya

I need solution about this error. Because same error right now i am facing. Suddenly this error occur.

Please shall any one help me?????

Leave a Comment

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