r/streamerbot • • 13d ago

❓Question [Linux] Unable to load DLL 'mscms.dll'

Has anyone had this issue in Fedora Linux? I used the official script found here.

Logs:

[2026-11-11 13:03:23.830 DBG] MIDI :: Loaded 0 actions.
[2026-11-11 13:03:24.387 DBG] Credits :: Performing auto reset of data, 44.1167958683889 > 12
[2026-11-11 13:03:24.552 DBG] Streamer.bot Service :: Logging into Streamer.bot Website account
[2026-11-11 13:03:24.555 WRN] TokenManager :: Streamer.bot Website requested an access token, but no credentials exist.
[2026-11-11 13:03:24.555 INF] Streamer.bot Service :: Token retrieval failed or credentials missing.
[2026-11-11 13:03:24.555 WRN] Streamer.bot Website service failed to initialize during startup. Application will continue in offline mode.
[2026-11-11 13:03:26.098 FTL] Fatal Thread Exception
System.DllNotFoundException: Unable to load DLL 'mscms.dll': Module not found. (Exception from HRESULT: 0x8007007E)
   at MS.Win32.PresentationCore.UnsafeNativeMethods.Mscms.OpenColorProfile(PROFILE& pProfile, UInt32 dwDesiredAccess, UInt32 dwShareMode, UInt32 dwCreationMode)
   at System.Windows.Media.ColorContext.FromRawBytes(Byte[] data, Int32 dataLength, Boolean dontThrowException)
   at System.Windows.Media.ColorContext..ctor(SafeMILHandle colorContextHandle)
   at System.Windows.Media.ColorContext.GetColorContextsHelper(GetColorContextsDelegate getColorContexts)
   at System.Windows.Media.Imaging.BitmapFrameDecode.get_ColorContexts()
   at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at _gPleyfxUeO0pnMab3nTeLezuzid.‍‍‍‍‍(TypeConverter , String )
   at _gPleyfxUeO0pnMab3nTeLezuzid..ctor(_m1GlZjTw9HJRlnHHaLJc4v2zIcb , _k0228C20jJFZoAHoDTps8tfVuZD , _0F1Xayuj1iXh2RAEnreLlnxBpoQ , INavigationService , ISnackbarService , _gDr0GDELmZQq0xT0wGdduwBvber , _J9ceKS4WlrwvVPBfdN4a4Az8Oc2 , _ubpfKC6msMwlzryA6lMuxz9muqV , _8dVrNasbhM3OdPXJGiI0vElHH2cA , _f6kHiC7B7t4LKV3LICgYpxjPzqA , _NTCWcJBda7lclugclVxIvleoLzO , _D7ERAXuiE8NOeyhU8tJ8PnIfCHh , _Lic4OjezwbghN2YdXkVLzygCtxe )
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at _nKdQ9jdDYCzwNZgexp0X3aW2W6e._KKcvHI9awa5ULsHzYeZ8tW0c6mg(StartupEventArgs )
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)[2026-11-11 13:03:23.830 DBG] MIDI :: Loaded 0 actions.
[2026-11-11 13:03:24.387 DBG] Credits :: Performing auto reset of data, 44.1167958683889 > 12
[2026-11-11 13:03:24.552 DBG] Streamer.bot Service :: Logging into Streamer.bot Website account
[2026-11-11 13:03:24.555 WRN] TokenManager :: Streamer.bot Website requested an access token, but no credentials exist.
[2026-11-11 13:03:24.555 INF] Streamer.bot Service :: Token retrieval failed or credentials missing.
[2026-11-11 13:03:24.555 WRN] Streamer.bot Website service failed to initialize during startup. Application will continue in offline mode.
[2026-11-11 13:03:26.098 FTL] Fatal Thread Exception
System.DllNotFoundException: Unable to load DLL 'mscms.dll': Module not found. (Exception from HRESULT: 0x8007007E)
   at MS.Win32.PresentationCore.UnsafeNativeMethods.Mscms.OpenColorProfile(PROFILE& pProfile, UInt32 dwDesiredAccess, UInt32 dwShareMode, UInt32 dwCreationMode)
   at System.Windows.Media.ColorContext.FromRawBytes(Byte[] data, Int32 dataLength, Boolean dontThrowException)
   at System.Windows.Media.ColorContext..ctor(SafeMILHandle colorContextHandle)
   at System.Windows.Media.ColorContext.GetColorContextsHelper(GetColorContextsDelegate getColorContexts)
   at System.Windows.Media.Imaging.BitmapFrameDecode.get_ColorContexts()
   at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at _gPleyfxUeO0pnMab3nTeLezuzid.‍‍‍‍‍(TypeConverter , String )
   at _gPleyfxUeO0pnMab3nTeLezuzid..ctor(_m1GlZjTw9HJRlnHHaLJc4v2zIcb , _k0228C20jJFZoAHoDTps8tfVuZD , _0F1Xayuj1iXh2RAEnreLlnxBpoQ , INavigationService , ISnackbarService , _gDr0GDELmZQq0xT0wGdduwBvber , _J9ceKS4WlrwvVPBfdN4a4Az8Oc2 , _ubpfKC6msMwlzryA6lMuxz9muqV , _8dVrNasbhM3OdPXJGiI0vElHH2cA , _f6kHiC7B7t4LKV3LICgYpxjPzqA , _NTCWcJBda7lclugclVxIvleoLzO , _D7ERAXuiE8NOeyhU8tJ8PnIfCHh , _Lic4OjezwbghN2YdXkVLzygCtxe )
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at _nKdQ9jdDYCzwNZgexp0X3aW2W6e._KKcvHI9awa5ULsHzYeZ8tW0c6mg(StartupEventArgs )
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0 Upvotes

4 comments sorted by

1

u/fgr_FreakOn 13d ago

The link you supplied has 2 messages at the top of the page, the 2nd message offers a solution to potential problems with Linux installs

-1

u/UnhingedKoala9 12d ago

Thank you, I read the guides but that didn't seems to fix my issue. I managed to install it via Bottles, but with a couple of issues that I still need to fix.

1

u/fgr_FreakOn 12d ago

Great news!

1

u/s3cr00t 6d ago

copy file UIAutomationCore.dll from windows to linux folder replace file to fix