I integrated my MVC application in to an existing Web Forms application. Both the web forms part and mvc part runs perfectly in visual web development server, when i tried to deploy it in IIS 7, web forms part is working, but not the MVC, can anyone suggest me what could be wrong??
I have already done the necessary steps such as
Making sure System.Web.Mvc, System.Web.Routing and System.Web.Astractions are available.
Application is deployed in Integrated Pipeline Mode.
validateIntegratedMode set to false in web.config
Do I need any specific handlers when we deploy an hybrid app with both mvc and web forms, cause i deployed an mvc only application before in the same server on IIS 7 which works perfectly.
I get a 404 error, when i try to open a page in MVC, like this one
Description: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Error Code: 0x80070002 Notification: MapRequestHandler Module: IIS Web Core RequestedURL: http://10.242.22.1/Sales/Index
I would really appreciate any suggestions, my global.asax is very plain, it has the same default routing that is generated by default when a new mvc app is created.
Jay
Have you installed MVC on your server. If yes, change Application pool to interation mode. Following link might help http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.