Support Forums

Error on Login
 
Notifications
Clear all

Error on Login

4 Posts
2 Users
0 Likes
827 Views
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

Hello,

 

on an Exchange 2019 we´ve installed CloudPanel.
From time to time it seems that the app crashes. Can you please take a look.

(It always happens before login)

 

Version: VERSION: 3.2.340.0

 

System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein. Parametername: index bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) bei System.SZArrayHelper.get_Item[T](Int32 index) bei Nancy.ViewEngines.Razor.RazorViewEngine.GetLineNumber(Int32 startLineIndex, IReadOnlyList`1 compilationSource) bei Nancy.ViewEngines.Razor.RazorViewEngine.<>c_DisplayClass19_0.<BuildErrorMessages>b0(Diagnostic error) bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() bei System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() bei System.Linq.Buffer`1..ctor(IEnumerable`1 source) bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) bei Nancy.ViewEngines.Razor.RazorViewEngine.BuildErrorMessages(IEnumerable`1 errors, IList`1 templateLines, IReadOnlyList`1 compilationSource) bei Nancy.ViewEngines.Razor.RazorViewEngine.BuildErrorMessage(EmitResult result, ViewLocationResult viewLocationResult, String sourceCode) bei Nancy.ViewEngines.Razor.RazorViewEngine.<>cDisplayClass14_0.<GenerateRazorViewFactory>b0() bei Nancy.ViewEngines.Razor.RazorViewEngine.GetViewInstance(ViewLocationResult viewLocationResult, IRenderContext renderContext, Object model) bei System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) bei Nancy.ViewEngines.Razor.RazorViewEngine.<>cDisplayClass9_0.<RenderView>b0(Stream stream) bei Nancy.Responses.MaterialisingResponse.PreExecute(NancyContext context) bei Nancy.NancyEngine.<InvokeRequestLifeCycle>d_22.MoveNext()

 

Der Server hat eine unerwartete Bedingung festgestellt, durch die er die Anforderung nicht erfüllen konnte. Details finden Sie unten:
System.BadImageFormatException: Das Format der ausführbaren Datei (.exe) oder der Bibliothek (.dll) ist ungültig. bei Nancy.ViewEngines.Razor.RazorViewEngine.GenerateRazorViewFactory(IRazorViewRenderer renderer, GeneratorResults generatorResults, Type passedModelType, ViewLocationResult viewLocationResult) bei Nancy.ViewEngines.Razor.RazorViewEngine.GetCompiledViewFactory(TextReader reader, Type passedModelType, ViewLocationResult viewLocationResult) bei Nancy.ViewEngines.Razor.RazorViewEngine.<>c_DisplayClass22_0.<GetOrCompileView>b0(ViewLocationResult x) bei Nancy.ViewEngines.DefaultViewCache.<>cDisplayClass3_0`1.<GetOrAdd>b0(ViewLocationResult x) bei System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) bei Nancy.ViewEngines.DefaultViewCache.GetOrAdd[TCompiledView](ViewLocationResult viewLocationResult, Func`2 valueFactory) bei Nancy.ViewEngines.Razor.RazorViewEngine.GetOrCompileView(ViewLocationResult viewLocationResult, IRenderContext renderContext, Type passedModelType) bei System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) bei Nancy.ViewEngines.Razor.RazorViewEngine.GetViewInstance(ViewLocationResult viewLocationResult, IRenderContext renderContext, Object model) bei System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) bei Nancy.ViewEngines.Razor.RazorViewEngine.<>cDisplayClass9_0.<RenderView>b0(Stream stream) bei Nancy.Responses.MaterialisingResponse.PreExecute(NancyContext context) bei Nancy.NancyEngine.<InvokeRequestLifeCycle>d_22.MoveNext()

 

3 Replies
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

The issue is the application pool is recycling on an interval. The issue is when CloudPanel starts it compiles some DLL files to use but any delay or memory limitation can make it take longer than normal and lead to this situation. Sometimes a refresh of the page will load but usually you have to recycle it again. If you can, edit the CloudPanel application pool in IIS and change the idle timeout from 20 minutes to 0 and see if that helps.

Reply
Posts: 0
Topic starter
(@Anonymous)
Joined: 1 second ago

Hello,

thanks for your reply.
Now it leads to HTTP Error 503. The service is unavailable.

Reply
1 Reply
Admin
(@jdixon)
Joined: 9 years ago

Noble Member
Posts: 1563

@bpjohnny 503 is the application pool crashing. If you go into IIS and look at the application pools is it started or stopped? If you can, please retype the DOMAIN\Username and password on the credential page and try again. If it does it again, please send the application log from event viewer and CloudPanel logs (c:\program files (x86)\know more it\cloudpanel\logs

Reply
Share: