MVC 2 not kicking in

Discussion in 'ASP.NET / ASP.NET Core' started by gregor, Oct 27, 2010.

  1. Hi

    I am trying to get a simple test MVC 2 app running on discountasp hosting. I uploaded all the required files via FTP, I also uploaded System.Web.Mvc in to bin. But whenver I try to hit the page (root) from the browser I get the IIS forbiden error. Looks like it can't find the default document, meaning the MVC routing is not kicking in to server the default document. The support guy told me to upload a default document, but as far as I kwow it is not needed for MVC.

    What am I missing? Thank you for your help!
     
  2. Nevermind... don't miss out the global.asax when uploading MVC. Tought it was compiled in dll...

    Regards Gregor
     
  3. mjp

    mjp

    Thanks for posting that tip in case others miss it.
     

Share This Page