AspNetHost Exception

0
0

Hi.

I have been seeing an Exception at the AspNetHost that I don’t know how to track. It is not consistent and happens in different moments while running the application and showing the DevExpress Dashboards wrapper. This is the one:

System.InvalidOperationException
HResult=0x80131509
Message=Collection was modified; enumeration operation may not execute
Source=mscorlib
StackTrace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at Wisej.Core.ComponentManager.FindComponent(Predicate`1 match)
at Wisej.Web.Application.FindComponent(Predicate`1 match)
at ASP.wisej_aspnethost_aspx.get_Wrapper() in http://server/Wisej.AspNetHost.aspx:line 56
at ASP.wisej_aspnethost_aspx.LoadPageStateFromPersistenceMedium() in http://server/Wisej.AspNetHost.aspx:line 34

This exception was originally thrown at this call stack:
System.ThrowHelper.ThrowInvalidOperationException(System.ExceptionResource)
Wisej.Core.ComponentManager.FindComponent(System.Predicate<Wisej.Core.IWisejComponent>)
Wisej.Web.Application.FindComponent(System.Predicate<Wisej.Core.IWisejComponent>)
ASP.wisej_aspnethost_aspx.Wrapper.get() in Wisej.AspNetHost.aspx
ASP.wisej_aspnethost_aspx.LoadPageStateFromPersistenceMedium() in Wisej.AspNetHost.aspx
System.Web.UI.Page.LoadAllState()
System.Web.UI.Page.ProcessRequestMain(bool, bool)

 

Any tip on what could be going on and how to debug it?

Thanks in advance.

Ivan
(Wisej 2.2.44.0 – C# – SQLServer)

  • You must to post comments
0
0

Hi Levie.

Thanks for the prompt reply!

I will enable the Exceptions in VS. As for the video, I will see what I can do, since it happens out of nowhere and I haven’t been able to reproduce it consistently. I will try.

  • You must to post comments
0
0

Hi Ivan,

It looks like the Wisej component’s collection is modified during whatever the wrapper is doing.

Can you enable Common Language Runtime Exceptions in VS so we can see exactly where it breaks in the code? It would also be helpful to send a video reproducing the issue if possible (you can attach it here or email it to us).

Thanks,

Levie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.