Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upgrading to the latest MVC causes error
Message
 
 
À
24/02/2015 03:54:04
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:
01615764
Vues:
26
>>I commented out ErrorView, WarningView, etc. methods and got it to run.
>
>Hardly a fix :-}
>

Agree. The consultants suggests to just comment that particular line instead

routes.MapMvcAttributeRoutes();

so I may try that approach.

> >Now it doesn't show the view and shows this new error in Dev. Tools:
>>
>>
>> Uncaught Error: [$injector:modulerr] Failed to instantiate module sysMgrApp due to:
>>Error: [$injector:modulerr] Failed to instantiate module ui.bootstrap due to:
>>Error: [$injector:nomod] Module 'ui.bootstrap' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
>>http://errors.angularjs.org/1.3.13/$injector/nomod?p0=ui.bootstrap
>>
>
>Pretty self-explanatory. Somewhere you have a dependency on ui.bootstrap but it's not being loaded to the browser.

Strange, I thought I already updated that message. I fixed that error first by loading the angular-ui bootstrap as the original files got deleted. I then got other problems. The reason for the mess is that we're using macadminetheme which incorporates jquery and bootstrap into it and not the very latest. So, later that night I restored these 2 missing files and got the project to run almost without errors except for the new error about number formatting pointing to our custom directives. I left it at that as we probably will upgrade macadminetheme as well first (even though it's not very up to date with its components).
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