This project has moved. For the latest updates, please go here.

Create MA error. Extension could not be loaded

Nov 13, 2014 at 4:45 PM
Edited Nov 13, 2014 at 5:03 PM
I am following the instructions to create the MA, but I receive an error loading the DLL

Environment
Windows Server 2008 R2
FIM Synchronization Service
Build: 4.1.3508.0

Copied DLLs to Extensions folder
I could brouse the Lithnet.SshMA.dll, but when I click in Refresh interfaces I receive an error:
The extension could not be loaded

In Application Event Log there is the following error:
Log Name: Application
Source: FIMSynchronizationService
Date: 11/13/2014 6:25:29 AM
Event ID: 6801
Task Category: Server
Level: Error
Keywords: Classic
User: N/A
Computer: SRVTROIMSY001.pro.edenor
Description:
The extensible extension returned an unsupported

error.
The stack trace is:

"System.IO.FileLoadException: Could not load

file or assembly 'file:///C:\Program Files

\Microsoft Forefront Identity Manager

\2010\Synchronization Service\Extensions

\Lithnet.SshMA.dll' or one of its dependencies.

Operation is not supported. (Exception from

HRESULT: 0x80131515)
File name: 'file:///C:\Program Files\Microsoft

Forefront Identity Manager\2010\Synchronization

Service\Extensions\Lithnet.SshMA.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, Boolean

throwOnFileNotFound, Boolean forIntrospection,

Boolean suppressSecurityChecks)
at

System.Reflection.RuntimeAssembly.InternalLoadAs

semblyName(AssemblyName assemblyRef, Evidence

assemblySecurity, StackCrawlMark& stackMark,

Boolean forIntrospection, Boolean

suppressSecurityChecks)
at

System.Reflection.RuntimeAssembly.InternalLoadFr

om(String assemblyFile, Evidence

securityEvidence, Byte[] hashValue,

AssemblyHashAlgorithm hashAlgorithm, Boolean

forIntrospection, Boolean

suppressSecurityChecks, StackCrawlMark&

stackMark)
at System.Reflection.Assembly.LoadFrom(String

assemblyFile)

Forefront Identity Manager 4.1.3508.0"
Event Xml:
<Event

xmlns="http://schemas.microsoft.com/win/2004/08/

events/event">
<System>
<Provider Name="FIMSynchronizationService" 
/>
<EventID Qualifiers="49152">6801</EventID>
<Level>2</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-11-
13T09:25:29.000000000Z" />
<EventRecordID>7567</EventRecordID>
<Channel>Application</Channel>

<Computer>SRVTROIMSY001.pro.edenor</Computer>
<Security />
</System>
<EventData>
<Data>System.IO.FileLoadException: Could not 
load file or assembly 'file:///C:\Program Files

\Microsoft Forefront Identity Manager

\2010\Synchronization Service\Extensions

\Lithnet.SshMA.dll' or one of its dependencies.

Operation is not supported. (Exception from

HRESULT: 0x80131515)
File name: 'file:///C:\Program Files\Microsoft

Forefront Identity Manager\2010\Synchronization

Service\Extensions\Lithnet.SshMA.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,

Boolean throwOnFileNotFound, Boolean

forIntrospection, Boolean

suppressSecurityChecks)
at

System.Reflection.RuntimeAssembly.InternalLoadAs

semblyName(AssemblyName assemblyRef, Evidence

assemblySecurity, StackCrawlMark& stackMark,

Boolean forIntrospection, Boolean

suppressSecurityChecks)
at

System.Reflection.RuntimeAssembly.InternalLoadFr

om(String assemblyFile, Evidence

securityEvidence, Byte[] hashValue,

AssemblyHashAlgorithm hashAlgorithm, Boolean

forIntrospection, Boolean

suppressSecurityChecks, StackCrawlMark&

stackMark)
at System.Reflection.Assembly.LoadFrom(String

assemblyFile)

Forefront Identity Manager 4.1.3508.0</Data>
</EventData>
</Event>

What I missed?

Thanks in advanced