Could not load file or assembly ‘System.Web.Mvc, Version=3.0.0.0, Elmah.MVC issue

I had this exact same issue using MVC4 with Ninject built for .Net 4.5 To fix this i had to add a binding redirect to my Web.config file: (at the end of the file, just before the </configuration> tag) <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”System.Web.Helpers” publicKeyToken=”31bf3856ad364e35″/> <bindingRedirect oldVersion=”1.0.0.0-2.0.0.0″ newVersion=”2.0.0.0″/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name=”System.Web.Mvc” publicKeyToken=”31bf3856ad364e35″/> <bindingRedirect … Read more

ELMAH – MVC 3 – 403 – Forbidden: Access is denied

(This is all from the documentation/getting started) You don’t need the following line: routes.IgnoreRoute(“elmah.axd”); The next line takes care of it. Everything you need to configure is in your web.config file. Something like: <elmah> <security allowRemoteAccess=”yes” /> <errorLog type=”Elmah.SqlErrorLog, Elmah” connectionStringName=”mySqlConnString” /> </elmah> <location path=”elmah.axd”> <system.web> <authorization> <allow roles=”Administrator” /> <deny users=”*” /> </authorization> </system.web> … Read more