SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

-2146233088 System.ComponentModel.Win32Exception, Line 80 in ProcessExt.cs, Access denied

Open jjbs opened this issue 1 year ago • 2 comments

For almost 10 months now, when starting Selenium from VBA I will get following Error Message: -2146233088 System.ComponentModel.Win32Exception Line 80 in ProcessExt.cs Access denied (Windows10, Office 365, 64 bit)

But starting from VBScript, it works.

Could be anything done to get Seleniumbasic running again from VBA?

jjbs avatar Jan 18 '24 18:01 jjbs

It works for me in Windows 11, Office 365, 64 bit. Did you upgrade Office from 32 bit to 64 bit recently? Have you tried uninstall/reinstall SeleniumBasic? Sorry that's all I can think of...

GCuser99 avatar Jan 18 '24 23:01 GCuser99

Hello Mike, Thank you for your reply.

I uninstalled and installed SeleniumBasic several times with and without Admin rights.

With help of the company Admin I figured out, there was/is a problem to read the EventLogs 'Security' and 'State'. 'Die Quelle wurde nicht gefunden, 'aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. 'Protokolle, auf die kein Zugriff möglich war: Security, State. The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security, State.

The company Admin managed to give access to 'Security' by changing the registry (Read-permission for Network_service), but for unknown reason 'State' is not changeable even for the company Admin. So after that 'State' is still not accessible: 'Die Quelle wurde nicht gefunden, 'aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. 'Protokolle, auf die kein Zugriff möglich war: State. The source was not found, but some or all event logs could not be searched. Inaccessible logs: State.

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\State The file exists on my computer: %SystemRoot%\System32\winevt\Logs\State.evtx

' https://social.technet.microsoft.com/Forums/en-US/676549f5-1c02-49a1-a897-87605ba9a7f6/systemsecuritysecurityexception-the-source-was-not-found-but-some-or-all-event-logs-could-not-be?forum=SP2016

Any further Ideas how to work around this problem?

Thank you.

Jörn Jaenecke Konstantin-Uhde-Str. 9 38106 Braunschweig +49 / 1523 / 45 00 441

Am Fr., 19. Jan. 2024 um 00:26 Uhr schrieb Mike @.***>:

It works for me in Windows 11, Office 365, 64 bit. Did you upgrade Office from 32 bit to 64 bit recently? Have you tried uninstall/reinstall SeleniumBasic? Sorry that's all I can think of...

— Reply to this email directly, view it on GitHub https://github.com/florentbr/SeleniumBasic/issues/283#issuecomment-1899378092, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKVJNO5DBFWEZ7JUHCXU2L3YPGVTHAVCNFSM6AAAAABCAW2BCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGM3TQMBZGI . You are receiving this because you authored the thread.Message ID: @.***>

jjbs avatar Jan 30 '24 16:01 jjbs