Resolve "Failed to initialize InProcServer" Error

Article ID: 1513
Last updated: 07 Oct, 2019

Issue

The Failed to initialize InProcServer error may appear in the Riva log [date].txt file, where [date] is the date when the error occurred.

The following sample displays the error that occurred after Riva On-Premise was installed on a Windows 2012 server and an attempt was made to create a GroupWise SDK connection,

2016-05-25 09:15:58,086 ERROR [ 7] [(null)] Failed to initialize InProcServer. ServerType='Omni.Riva.Sdk.GroupWise.GwSdkConnection' Endpoint='net.pipe://localhost/RivaSyncService/InProc/3760/GwSdkService.svc'
System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files (x86)\Omni\Riva\Application\Base\Omni.Riva.Sdk.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\Program Files (x86)\Omni\Riva\Application\Base\Omni.Riva.Sdk.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.

Cause

The riva-latest.zip file used to install Riva On-Premise was blocked by Windows. That means that all files extracted from that zip file were also blocked.

Note: The issue reported in this article is not specific to the riva-latest.zip file or the GWSDK dll files. The Blocked security could happen to any ZIP file downloaded from the internet, and the ZIP file should be checked before extracting the files.

Solution

To reinstall Riva with an unblocked .zip file:

  1. Remove the Riva files and folders previously extracted from the blocked riva-latest.zip file.

  2. Right-click the riva-latest.zip file, and select Properties.

  3. Select Unblock, and select OK.

  4. Follow the normal procedures to extract the files from the zip file and continue setting up Riva.

This article was:   Helpful | Not helpful Report an issue


Article ID: 1513
Last updated: 07 Oct, 2019
Revision: 6
Views: 3949
Comments: 0
Also read
item Download and Extract a Riva On-Premise Server

Prev     Next
Download and Extract a Riva On-Premise Server       Common Install Procedures


Back to Top