FanControl.AsusWMI icon indicating copy to clipboard operation
FanControl.AsusWMI copied to clipboard

Faild to load plugin

Open oghostly opened this issue 2 years ago • 8 comments

260742934c964e9cb808866afa4e9899

I get this error after copying the dll into the plugin folder and restarting fan control

oghostly avatar Nov 08 '23 01:11 oghostly

right-click the dll file and select properties. in the first panel (general) at the very bottom there should be a checkbox - warning this dll is from another computer - select it and click apply.

avnerse3 avatar Dec 11 '23 12:12 avnerse3

right-click the dll file and select properties. in the first panel (general) at the very bottom there should be a checkbox - warning this dll is from another computer - select it and click apply.

Unfortunately now its not loading the plugin at all

oghostly avatar Dec 11 '23 16:12 oghostly

same problem here... the plugin is not even detected in the list

image

HartLarsson avatar Dec 14 '23 17:12 HartLarsson

same problem here... the plugin is not even detected in the list

image

I had it in the root folder at first forgetting about the plugin folder but it didn’t make a difference

oghostly avatar Dec 14 '23 18:12 oghostly

Same problem...

Capture

NolonQ avatar Jan 07 '24 21:01 NolonQ

Same problem...

Capture

I still have yet to figure this out is it something with iplugin im missing possibly?

oghostly avatar Jan 07 '24 23:01 oghostly

got the same failed to load plugin error here (not exclusive for this plugin) Failed to load plugin FanControl.AsusWMI.dll. Make sure the plugin's dll is unblocked in its properties. 04/04/2024 01:17:09: System.IO.FileLoadException: Could not load file or assembly 'file:///FanControl\Plugins\FanControl.AsusWMI.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

It is "unblocked" in properties. Here's more from the log: (full path removed for length and whatnot) File name: 'file:///FanControl\Plugins\FanControl.AsusWMI.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at FanControl.Domain.PluginService.LoadAssembly(FileInfo dll)

joridiculous avatar Apr 03 '24 23:04 joridiculous

right-click the dll file and select properties. in the first panel (general) at the very bottom there should be a checkbox - warning this dll is from another computer - select it and click apply.

I clicked "unblock" checkbox at the bottom of the general tab and then placed the FanControl.AsusWMI.dll in the Plugins folder. Closed fancontrol desktop application and reopened it. No more error. Plugin information is being loaded and displayed accurately(I believe).

Snippet for reference(settings tab): image

moadlouni avatar Nov 12 '24 23:11 moadlouni