WebApplication.CallBackResponse.AddJavaScriptToExecute call causes Access Violation

<< Click to Display Table of Contents >>

Navigation:  Forum >

WebApplication.CallBackResponse.AddJavaScriptToExecute call causes Access Violation

Forum link

 

 

 


 

08-22-2024, 11:15 AM:

 

I get an exception on WebApplication.CallBackResponse.AddJavaScriptToExecute (Exception class name = EAccessViolation) when two users try to access the same page at the same moment. 

 

I have no problem as long as there is just one user displaying the page.

 

What do I miss ?

 

Thank you for your support.

 

 

 


 

09-03-2024, 11:43 AM:

 

The `EAccessViolation` exception happens because multiple users are trying to access or modify shared resources at the same time, causing conflicts. To fix this, ensure that your code is thread-safe and properly handles simultaneous access by using synchronization mechanisms to manage shared resources.