Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upgrading to the latest MVC causes error
Message
 
 
À
23/02/2015 13:44:30
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01615733
Message ID:
01615746
Vues:
24
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform