I know this error has popped up for people before, but this seems to be a bit of a special case.
I've been working on setting up a SPA with ReactJS on top of ASP.NET MVC 4. I've had no problem getting things working on my machine. However, the weird issue I'm seeing is that it's not working on any other machines for other devs. As far as I've seen, I don't have any files that aren't checked in under source control. I've made use of the RouteDebugger and I see the proper route being caught.
The route I'm using for this SPA is /V2/Home. So I have an Area called "V2", an MVC controller in the area called "HomeController" and it has a view called "Index". I setup a catchall in the V2AreaRegistration.
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"V2_default",
"V2/{*url}",
new { area = "V2", controller = "Home", action = "Index" }
);
}
Here's Application_Start in Global.asax.cs
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
GlobalConfiguration.Configure(WebApiConfig.Register);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
AuthConfig.RegisterAuth();
AutoMapperConfiguration.Configure();
Logger.Info("Application started");
GlobalConfiguration.Configuration.EnsureInitialized();
}
I've gotten absolutely nowhere with this. I would love to get this solved. Feel free to ask for anything missing.