Versions des environnements
Network:
Windows 2003 Server
>>>>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.
The actual routing table is created dynamically at startup and it seems that this can't be constructed if the ErrorView() (or other) methods are generic.
What's your signature of ErrorView() ?
>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?
Showing where ?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement