Click here to Skip to main content
15,886,049 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
HI All


I am working on production which is created on ASP.NET 4.0 and hosted on IIS 5.1.
I need to implement new feature in it and for this new feature I need to use MVC3.

I have successfully implemented it and also deployed it as suggested by Microsoft in their MVC deploment with diff IIS versions.

I have also added .* extention in ISAPI filters but because of this the tree rad control which is a part ASP.NET4.0 is not expanding. When I am removing .* extension from ISAPI filter then my MVC doesn't work but Tree view starts working fine.

Can any one tell me what's going wrong with my code?


Below is the code in Global.asax.cs file.
C#
public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            routes.MapRoute(
                "Default", // Route name
                "{controller}/{action}/{id}", // URL with parameters
                new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
            );

        }
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900