Deploying ASP.NET MVC to IIS6: pages are just blank


Deploying ASP.NET MVC to IIS6: pages are just blank



I have an MVC app that is actually on a couple other servers but I didn't do the deploy. For this deploy I have added the wildcard to aspnet_isapi.dll which has gotten rid of the 404 error. But the pages are not pulling up, rather everything is just blank. I can't seem to find any IIS configuration differences. The Global asax.cs file does have routing defined, but as I've seen on a working server, that file isn't just hanging out in the root or anything so obvious. What could I be missing here?

All of the servers are running IIS6 and I have compared the setups and they look the same to me at this point.

Thanks... Bryan

EDIT for the comments thus far: I've looked in the event logs with no luck, and scoured various IIS logs per David Wang: blogs.msdn.com.

Below is the Global.asax.cs file...

public class MvcApplication : System.Web.HttpApplication {     public static void RegisterRoutes(RouteCollection routes)     {         routes.IgnoreRoute("{resource}.axd/{*pathInfo}");         routes.IgnoreRoute("error.axd"); // for Elmah          // For deployment to IIS6         routes.Add(new Route         (             "{controller}.mvc/{action}/{id}",             new RouteValueDictionary(new { action = "Index", id = (string)null }),             new MvcRouteHandler()         ));          routes.MapRoute(             "WeeklyTimeSave",             "Time/Save",             new { controller = "Time", action = "Save" }         );          routes.MapRoute(             "WeeklyTimeAdd",             "Time/Add",             new { controller = "Time", action = "Add" }         );          routes.MapRoute(             "WeeklyTimeEdit",                                                           "Time/Edit/{id}",                                                    new { controller = "Time", action = "Edit", id = "" }           );          routes.MapRoute(             "FromSalesforce",             "Home/{id}",             new { controller = "Home", action = "Index", id = "" });          routes.MapRoute(             "Default2",              "{controller}/{id}",             new { controller = "Home", action = "Index", id = "" }           );          routes.MapRoute(             "Default",              "{controller}/{action}/{id}",               new { controller = "Home", action = "Index", id = "" }         );      }      protected void Application_Start()     {         RegisterRoutes(RouteTable.Routes);     } } 

Maybe this is as stupid as the asax file not being somewhere it needs to be, but heck if I know at this point.


System.accessviolationexception Attempted to read or write protected memory. This is often an indication that other memory is corrupt

1:

Implement Interface Without Creating Implementation (Dynamic Proxies?)
Here is the main guide this helped me out the most when deploying ASP.NET MVC 1.0 on IIS6:. how to call renderpartial from spark http://www.hanselman.com/blog/DeployingASPNETMVCOnASPNET20.aspx. Why is NHibernate performing an INSERT instead of an update? And since it kinda although chers the whole idea of friendly names in REST architecture, heres a quick fix to the file name extension issue:. Implementing a class-level validation attribute that writes to a property inside the class http:/slashflux88DOTcom/blog/using-asp-net-mvc-on-iis-6-without-the-mvc-extension/. ASP.NET MVC2 CrAzY Characters in View Output - WTF Sorry for the obfuscated URL, SO hit me with a spam blocker.. PDFsharp can't find image (image not found)
MvcSitemapProvider is returning all in Https instead of Http

75 out of 100 based on 40 user ratings 235 reviews

#