So I'm trying to deploy an MVC 3 app to a web server. If I don't include the System.Web.Mvc dll in the \bin directory, I get the configuration error saying it can't find the assembly System.Web.Mvc, which is to be expected. However, as soon as I add the assembly, I get at 403.14 Forbidden error. I've tried everything from installing MVC 3 on the server to running the command: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -ir
The app pool is set to Asp.net v4.0 integrated pipeline. Super frustrated so any other ideas would be helpful. I've read through all posts on SO to no avail.
Server is Windows 2008 Enterprise 32-bit. .NET 4 is installed.
Update: I've discovered that some role services for IIS were disabled on the server. Namely HTTPRedirection and Static Content Compression. Installing those two services allows the web app to run, but the installation actually fails and says it needs to reboot to undo the changes. After reboot, the app obviously stops working. At least I know what the issue is now. I'm going to disable some services on the server and try to install the role services again.