-2146233088 System.ComponentModel.Win32Exception, Line 80 in ProcessExt.cs, Access denied
jjbs opened this issue · 2 comments
jjbs commented
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?
GCuser99 commented
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...
jjbs commented
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
<#283 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKVJNO5DBFWEZ7JUHCXU2L3YPGVTHAVCNFSM6AAAAABCAW2BCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGM3TQMBZGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>