Support Forums

500 Server Error
 
Notifications
Clear all

500 Server Error

1 Posts
2 Users
0 Likes
794 Views
0
Topic starter

Cannot open web page. Recycled IIS App Pool and restarted website

 

500


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()
1 Answer
0

Was this after an upgrade or it just randomly happened? When CloudPanel starts, it compiles DLL files to run the web application and it appears something is interrupting this process or it is delayed so much it is causing a problem (I.E. not enough memory). You may want to stop the IIS application pool, wait a minute and start it again to see if it produces a different result instead of recycling it.

Share: