home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
MP1-4069-Migrate_to_NET4
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="robyf" data-source="post: 1036374" data-attributes="member: 13314"><p>I don't know if you are aware of this but with latest master there is a problem loading plugins that have been downloaded from a web site, for instance, and not installed through the installer. This happens if the file is considered "untrusted". In TVServer/setuptv the plugin is not loaded with this message (exception in loadplugin):</p><p></p><p>[code]</p><p>PluginManager: Plugin file Sky IT Channel and EPG Grabber.dll is broken or incompatible with the current tvserver version and won't be loaded!</p><p>[2013-10-27 09:26:55,018] [Log ] [SetupTv ] [INFO ] - PluginManager: Exception: System.IO.FileLoadException: Impossibile caricare il file o l'assembly 'file:///C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\plugins\Sky IT Channel and EPG Grabber.dll' o una delle relative dipendenze. Operazione non supportata. (Eccezione da HRESULT: 0x80131515)</p><p>Nome file: 'file:///C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\plugins\Sky IT Channel and EPG Grabber.dll' ---> System.NotSupportedException: È stato effettuato un tentativo di caricamento di un assembly da un percorso di rete, il che avrebbe causato la creazione mediante sandbox dell'assembly nelle versioni precedenti di .NET Framework. In questa versione di .NET Framework i criteri di sicurezza dall'accesso di codice non sono abilitati per impostazione predefinita, pertanto questo tipo di caricamento può risultare pericoloso. Se il caricamento non è effettuato per creare l'assembly mediante sandbox, abilitare l'opzione loadFromRemoteSources. Per ulteriori informazioni, vedere http://go.microsoft.com/fwlink/?LinkId=155569.</p><p> in System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)</p><p> in System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)</p><p> in System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)</p><p> in System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)</p><p> in System.Reflection.Assembly.LoadFrom(String assemblyFile)</p><p> in SetupTv.PluginLoader.LoadPlugin(String strFile)</p><p>[/code]</p><p></p><p>in configuration.exe you cannot even display the plugin section if there is one file considered untrusted in the plugin dir.</p><p></p><p>This seems to have a correlation with the .net4 update.</p><p></p><p>Solution is to select the .dll of the plugin, right mouse -> properties and "unblock" the file in the dialog.</p><p></p><p>See this MS note: <a href="http://go.microsoft.com/fwlink/?LinkId=155569" target="_blank">http://go.microsoft.com/fwlink/?LinkId=155569</a> to workaround the problem...</p><p></p><p>Bye</p><p>Roby</p></blockquote><p></p>
[QUOTE="robyf, post: 1036374, member: 13314"] I don't know if you are aware of this but with latest master there is a problem loading plugins that have been downloaded from a web site, for instance, and not installed through the installer. This happens if the file is considered "untrusted". In TVServer/setuptv the plugin is not loaded with this message (exception in loadplugin): [code] PluginManager: Plugin file Sky IT Channel and EPG Grabber.dll is broken or incompatible with the current tvserver version and won't be loaded! [2013-10-27 09:26:55,018] [Log ] [SetupTv ] [INFO ] - PluginManager: Exception: System.IO.FileLoadException: Impossibile caricare il file o l'assembly 'file:///C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\plugins\Sky IT Channel and EPG Grabber.dll' o una delle relative dipendenze. Operazione non supportata. (Eccezione da HRESULT: 0x80131515) Nome file: 'file:///C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\plugins\Sky IT Channel and EPG Grabber.dll' ---> System.NotSupportedException: È stato effettuato un tentativo di caricamento di un assembly da un percorso di rete, il che avrebbe causato la creazione mediante sandbox dell'assembly nelle versioni precedenti di .NET Framework. In questa versione di .NET Framework i criteri di sicurezza dall'accesso di codice non sono abilitati per impostazione predefinita, pertanto questo tipo di caricamento può risultare pericoloso. Se il caricamento non è effettuato per creare l'assembly mediante sandbox, abilitare l'opzione loadFromRemoteSources. Per ulteriori informazioni, vedere http://go.microsoft.com/fwlink/?LinkId=155569. in System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) in System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) in System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) in System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) in System.Reflection.Assembly.LoadFrom(String assemblyFile) in SetupTv.PluginLoader.LoadPlugin(String strFile) [/code] in configuration.exe you cannot even display the plugin section if there is one file considered untrusted in the plugin dir. This seems to have a correlation with the .net4 update. Solution is to select the .dll of the plugin, right mouse -> properties and "unblock" the file in the dialog. See this MS note: [url]http://go.microsoft.com/fwlink/?LinkId=155569[/url] to workaround the problem... Bye Roby [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
MP1-4069-Migrate_to_NET4
Contact us
RSS
Top
Bottom