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

Unable to load plugins #182

Closed
spacecake opened this issue May 9, 2018 · 5 comments
Closed

Unable to load plugins #182

spacecake opened this issue May 9, 2018 · 5 comments

Comments

@spacecake
Copy link

Hi

I tried to update my 3.6.1, even tried switching to a blank 4.0.1.. unable to launch
Got this error https://pastebin.com/EjDjqmWn

File permission for the current user are full.

Best regards

@jirkapok
Copy link
Contributor

The link doesnt work anymore and please provide logs.

@OverlordQ
Copy link

OverlordQ commented Jan 11, 2019

Link works fine, just copy the link instead of clicking it. Get the same error:

ERROR 2019-01-11 13:00:13,936  2278ms Terminals              oadAssemblyPlugins - Unable to load plugins from 'C:\tools\terminals\Plugins\Ica\Terminals.Plugins.Ica.dll'.
System.IO.FileLoadException: Could not load file or assembly 'file:///C:\tools\terminals\Plugins\Ica\Terminals.Plugins.Ica.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\tools\terminals\Plugins\Ica\Terminals.Plugins.Ica.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 Terminals.Connections.PluginsLoader.LoadAssemblyPlugins(String pluginFile)

@keithhopkins-gpc
Copy link

"me too" from Terminals_v4.0.1 on Windows 10

Similar error across several files:
Unable to load plugins from 'C:\bin\Terminals\Plugins\Rdp\Terminals.Plugins.Rdp.dll
Unable to load plugins from 'C:\bin\Terminals\Plugins\Terminal\Terminals.Plugins.Terminal.dll'.
Unable to load plugins from 'C:\bin\Terminals\Plugins\Ica\Terminals.Plugins.Ica.dll'.

System.IO.FileLoadException: Could not load file or assembly 'file:///C:\bin\Terminals\Plugins\Ica\Terminals.Plugins.Ica.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\bin\Terminals\Plugins\Ica\Terminals.Plugins.Ica.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.

Google takes me to this explanation: https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/loadfromremotesources-element

@jirkapok
Copy link
Contributor

jirkapok commented Jul 3, 2019

This was fixed, see other comments, but i dont remember the issue number.

@jirkapok jirkapok closed this as completed Jul 3, 2019
@keithhopkins-gpc
Copy link

Looks like Zip Version Crash #89. I'll try it.

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

No branches or pull requests

4 participants