Hi,
I created a class lib that should be used by few modules, in order to make the class available for these modules I added a route to the routs.config file of the root CMS app, and when I'm developing the module I setting the same route entry in the mock rout.
Code:
<!-- KooBoo's original route -->
<add name="Kooboo" url="kooboo_{Controller}/{action}" routeType="Everest.CmsServices.Web.KoobooRoute, Everest.CmsServices" routeHandlerType="Everest.CmsServices.Web.KoobooMvcRouteHandler, Everest.CmsServices">
<defaults></defaults>
<dataTokens Namespaces="Everest.CmsServices.Controllers"/>
</add>
<!-- my route -->
<add name="vFr" url="vFrameworkSrv/{Controller}/{action}" routeType="Everest.CmsServices.Web.KoobooRoute, Everest.CmsServices" routeHandlerType="Everest.CmsServices.Web.KoobooMvcRouteHandler, Everest.CmsServices">
<defaults controller ="Common" action="GetActivitiesLevel"></defaults>
<dataTokens Namespaces="vFramework.CmsServices.Controllers"/>
</add>
The problem I have is that after installing the module in the root app and using it in one of the apps, when the app is calling a controller action that exist in the "vFrameworkSrv/{Controller}/{action}" I'm getting
Quote:"404 The resource cannot be found."
and this is how the link appears on Firebug:
Quote:http://localhost:23166/vFrameworkSrv/Common/GetActivitiesLevel/
BTW: when I'm developing the module and testing it, things are working fine.
Can some one please help me.
Thanks,
El