|
if (!DependencyResolver.Current.GetService<IDatabaseUpgradeDetector>().UpdateNeeded()) return;
Do you have a database instance setup and the connection string valid?
Aaron Powell
MVP - Internet Explorer (Development) | FunnelWeb Team Member
http://apowell.me | http://twitter.com/slace | Skype: aaron.l.powell | Github | BitBucket
I’ve got no idea, hence why I didn’t reply
Aaron Powell
MVP - Internet Explorer (Development) | FunnelWeb Team Member
http://apowell.me | http://twitter.com/slace | Skype: aaron.l.powell | Github | BitBucket
Either of them being null is problematic, DependencyResolver is a MVC framework feature so if that’s null there’s a big problem and f the db upgrader is null then the dependencies haven’t loaded which is also a problem.
Are you:
- On a shared or dedicated host?
- Have you ensured .NET 4.0 is installed?
- Is the app pool set correctly for .NET 4.0?
- Have you got MVC3 installed?
I don’t have a clue where to start, event viewer may have something if a dependency is failing to load but that’s a wild guess