>>>Maybe I'm barking up the wrong tree but isn't that your own code (in 'SysManager.Web.Areas.AccountingAudit.Controllers.PaymentTypesController)
>>
>>That controller is the first one in the areas (e.g. areas start with AccountingAudit area and this is the first controller there).
>>
>>The error happens before the Index method of that controller is hit (as I have a breakpoint here).
>
>The stack trace shows that the exception is thrown at start up by SysManager.Web.RouteConfig.RegisterRoutes()
>And the method causing the problem is the ErrorView () not Index()
>
>
>>Also, does it matter that we're running in Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237 ?
>
>Don't know :-{
I am not sure what can I do to fix this error. I've tried debugging it, but it breaks right away without going to the constructor of the BaseController or PaymentTypesController.
I can, of course, try to change the target .NET framework to be 4.5, don't think it will help.
I've checked few projects in the solution and it says that it's targeting .NET 4.5.1. So why it's showing 4.0 version of the framework?
If it's not broken, fix it until it is.
My Blog