asp.net mvc - Server Error in '/' Application. with same route -
i've been trying figure out can't find answers problem. problem having url:
localhost:343434/lev/details/1/4/con/2 this url return "server error in '/' application". know action return value theese parameters.
however, if use same route other parameters:
localhost:343434/lev/details/3/4/fhs/5 it call action , return result. "server error in '/' application" appears when using "con"
the outpus this:
the resource cannot found. description: http 404. resource looking (or 1 of dependencies) have been removed, had name changed, or temporarily unavailable. please review following url , make sure spelled correctly. requested url: /lev/details/1/4/con/2 and route:
routes.maproute( "levroute", "{controller}/{action}/{id}/{source}/{levtyp}/{levid2}/{page}/{order}", new { controller = "lev", action = "details", page = urlparameter.optional, order = urlparameter.optional } ); thanks in advance!
i've found solution problem adding web.config:
<configuration> <system.web> <httpruntime relaxedurltofilesystemmapping="true"/> </system.web> </configuration>
Comments
Post a Comment