SafeExamBrowser / seb-win-refactoring

Safe Exam Browser for Windows.
https://www.safeexambrowser.org/news_en.html
Mozilla Public License 2.0
165 stars 106 forks source link

Caught unexpected exception while performing operation 'LazyInitializationOperation'! #882

Open adixy94 opened 1 month ago

adixy94 commented 1 month ago

Describe the Bug A student gets the "SEB failed to start a new session!" error when they try to start the exam. The student is advised to install the latest version of C++ redistributable, reinstall the SEB, and reboot the computer. However, the same issue appears when they try to start the exam. The SEB is installed using the .exe file.

Version Information

Screenshots Screenshot of the installed C++ redistributables Error from the log

ERROR: Caught unexpected exception while performing operation 'LazyInitializationOperation'!

Exception Message: Access is denied Exception Type: System.ComponentModel.Win32Exception

at SimpleWifi.Win32.WlanClient..ctor() at SimpleWifi.Wifi..ctor() at SafeExamBrowser.SystemComponents.Network.NetworkAdapter.Initialize() in C:\Users\appveyor\projects\seb-win-refactoring-phv3mbelx16fm9ou\SafeExamBrowser.SystemComponents\Network\NetworkAdapter.cs:line 92 at SafeExamBrowser.Client.Operations.ShellOperation.InitializeSystemComponents() in C:\Users\appveyor\projects\seb-win-refactoring-phv3mbelx16fm9ou\SafeExamBrowser.Client\Operations\ShellOperation.cs:line 214 at SafeExamBrowser.Client.Operations.ShellOperation.Perform() in C:\Users\appveyor\projects\seb-win-refactoring-phv3mbelx16fm9ou\SafeExamBrowser.Client\Operations\ShellOperation.cs:line 81 at SafeExamBrowser.Core.OperationModel.OperationSequence.Perform() in C:\Users\appveyor\projects\seb-win-refactoring-phv3mbelx16fm9ou\SafeExamBrowser.Core\OperationModel\OperationSequence.cs:line 108

SEB log files

  1. Client - 2024-05-08_15h09m38s_Client.log
  2. Runtime - 2024-05-08_15h09m38s_Runtime.log
dbuechel commented 1 month ago

This most likely is a (configuration) issue on the system of the student. It appears that access to the WiFi control is denied. This may be caused by a corrupted WMI repository, a registry manipulation resp. group policy and can likely only be resolved by a support specialist or the student themselves by fixing their system (configuration).

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 28 days with no activity. It will soon be closed automatically if there are no updates.

dbuechel commented 1 week ago

Ensure that you have given SEB permission to access the location services (see Settings > Privacy & security > Location in the system control panel of Windows).