Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error]: System.Runtime.InteropServices.COMException (0xC0040009): Exception from HRESULT: 0xC0040009 #104

Closed
FadeMind opened this issue May 14, 2020 · 1 comment

Comments

@FadeMind
Copy link

FadeMind commented May 14, 2020

@lostindark Windows 10 2004 todays updates. Including NET Framework fixes.

I have something like this in Rapr.log when I want running after today updates via WU:

2020-05-14 12:19:56Z [Information]: ---------------------------------------------------------------
2020-05-14 12:19:56Z [Information]: Rapr started
2020-05-14 12:19:56Z [Error]: System.Runtime.InteropServices.COMException (0xC0040009): Wyjątek od HRESULT: 0xC0040009
   w Microsoft.Dism.DismUtilities.ThrowIfFail(Int32 hresult, DismSession session)
   w Microsoft.Dism.DismApi.Initialize(DismLogLevel logLevel, String logFilePath, String scratchDirectory)
   w Rapr.Utils.DismUtil.EnumeratePackages() w C:\projects\driverstoreexplorer\Rapr\Utils\DismUtil.cs:wiersz 48
   w Rapr.DSEForm.BackgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) w C:\projects\driverstoreexplorer\Rapr\DSEForm.cs:wiersz 369
   w System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   w System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
2020-05-14 12:20:06Z [Information]: Shutting down - reason UserClosing

Reference https://support.microsoft.com/en-us/help/2978463/comexception-exception-occurs-when-you-create-a-weakreference-t-object

@FadeMind
Copy link
Author

Bad access permissions to %WINDIR%\logs were source of this issue. Not related with DSE itself. Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant