Cannot open web page. Recycled IIS App Pool and restarted website
The server encountered an unexpected condition which prevented it from fulfilling the request. Details can be found below:
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid. at Nancy.ViewEngines.Razor.RazorViewEngine.GenerateRazorViewFactory(IRazorViewRenderer renderer, GeneratorResults generatorResults, Type passedModelType, ViewLocationResult viewLocationResult) at Nancy.ViewEngines.Razor.RazorViewEngine.GetCompiledViewFactory(TextReader reader, Type passedModelType, ViewLocationResult viewLocationResult) at Nancy.ViewEngines.Razor.RazorViewEngine.<>c__DisplayClass22_0.<GetOrCompileView>b__0(ViewLocationResult x) at Nancy.ViewEngines.DefaultViewCache.<>c__DisplayClass3_0`1.<GetOrAdd>b__0(ViewLocationResult x) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Nancy.ViewEngines.DefaultViewCache.GetOrAdd[TCompiledView](ViewLocationResult viewLocationResult, Func`2 valueFactory) at Nancy.ViewEngines.Razor.RazorViewEngine.GetOrCompileView(ViewLocationResult viewLocationResult, IRenderContext renderContext, Type passedModelType) at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at Nancy.ViewEngines.Razor.RazorViewEngine.GetViewInstance(ViewLocationResult viewLocationResult, IRenderContext renderContext, Object model) at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at Nancy.ViewEngines.Razor.RazorViewEngine.<>c__DisplayClass9_0.<RenderView>b__0(Stream stream) at Nancy.Responses.MaterialisingResponse.PreExecute(NancyContext context) at Nancy.NancyEngine.<InvokeRequestLifeCycle>d__22.MoveNext()