Driver for Office 365 fails to start after patching

  • 7016960
  • 02-Nov-2015
  • 02-Nov-2015

Environment

NetIQ Identity Manager 4.5

Situation

After patching the driver to 4.1.0.1 the driver fails to start when running in the .Net remoteloader. The following error is displayed in the trace:

DirXML: [10/15/15 13:39:01.927]: TRACE:  Remote Loader: Unable to create instance of DXMLMSOnlineDriver.SPDriverShim
DirXML: [10/15/15 13:39:01.927]: TRACE:  Remote Loader: Exception: Could not load file or assembly 'file:///C:\Novell\remoteloader.NET\DXMLMSOnlineDriver.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
DirXML: [10/15/15 13:39:01.943]:
DirXML Log Event -------------------
    Thread  = Loader
    Level   = fatal
    Message = Unable to create driver: Could not load file or assembly 'file:///C:\Novell\remoteloader.NET\DXMLMSOnlineDriver.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)


Resolution

This error will be displayed if the .dll files that are being loaded are marked by the Operating System as "blocked". To unblock the dll files, right click each file, select Properties, and select the option to Unblock the library.

It is also possible to disable the checking for blocked dlls for all libraries loaded by the remote loader service. The following line:
<loadFromRemoteSources enabled="true"/>

needs to be added to the runtime node in the RemoteLoader.exe.config and RemoteLoaderSvc.config configuration files.