This project is read-only.

Directory listing error

Topics: Administration, Customizing Orchard
Apr 5, 2012 at 10:04 AM
Edited Apr 5, 2012 at 10:05 AM

I'm writing an action for rule that send an message between user , it is similary to Orchard.Email module

Here is my SendMessageActions.cs



    public interface IActionProvider : IEventHandler {
        void Describe(dynamic describe);

    public class SendMessageActions : IActionProvider



I also wrote a form file SendMessageForms.cs . When I run the solution , it takes me to Directory Listing pages (http://localhost:30320/OrchardLocal/) , when I try go to http://localhost:30320/OrchardLocal/Admin   or any page, it gave an error about the resource can not be found.

And when I delete the implementation IActionProvider from class SendMessageActions, everything works fine, but of course no new action for me in action list

I have tried to figure out this for a couple of hours but the problem still resists. Anyone have a solution for this ?


Apr 6, 2012 at 9:05 AM

Problem solved , just deleted declaration of my service in SendMessageActions constructor