Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Module Routing
elnove
#1 Posted : Tuesday, September 28, 2010 4:44:48 PM(UTC)
Rank: Member
Groups: Registered

Joined: 7/15/2010(UTC)
Posts: 12
Location: Canada
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

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.249 seconds.