I downloaded the MVC Beta and installed it. I started a new MVC Project in Visual Studio 2008 and attempted to run it. The first time it runs I get this error: Exception Details: System.BadImageFormatException: Bad IL range. Source Error: Line 12: ' (2) URL
with parameters Line 13: ' (3) Parameter defaults Line 14: routes.MapRoute( _ Line 15: "Default", _ Line 16: "{controller}/{action}/{id}", _ Source File: D:\Projects\FindMyWine\findmywine\findmywine\Global.asax.vb Line: 14 The weird thing is that if I refresh
I then get this error: The incoming request does not match any route. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in
the code. Exception Details: System.Web.HttpException: The incoming request does not match any route. Source Error: Line 5: HttpContext.Current.RewritePath(Request.ApplicationPath) Line 6: Dim httpHandler As IHttpHandler = New MvcHttpHandler() Line 7: httpHandler.ProcessRequest(HttpContext.Current)
Line 8: End Sub Line 9: Source File: D:\Projects\FindMyWine\findmywine\findmywine\Default.aspx.vb Line: 7 I'm more than a little perplexed as I've made no changes to the code yet.
trancehead
Member
45 Points
36 Posts
MVC Template throwing errors when running
Oct 19, 2008 02:47 PM|LINK
INstallation mvc
trancehead
Member
45 Points
36 Posts
Re: MVC Template throwing errors when running
Oct 19, 2008 03:40 PM|LINK