
MIM Event Broker - Error
Environment:
OS: Windows Server 2016
MIM Event Broker: v 4.0.1 RTM x64
After successful installation of MIM Event Broker and copy of 3 config files (Operation engine, Agent engine, GroupEngine), accessing the EB URL results in this error below:
Server Error in '/' Application.
Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.
Event Viewer Log
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 21/02/2018 10:48:01 AM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: winvdmim01.devparl.nsw.gov.au
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 21/02/2018 10:48:01 AM
Event time (UTC): 20/02/2018 11:48:01 PM
Event ID: 311fa6ab5c1a427ba0fa14f6a4f6ec12
Event sequence: 4
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: 17c438b0-1-131636439352711348
Trust level: Full
Application Virtual Path: /
Application Path: D:\Program Files\UNIFY Solutions\Event Broker\Web\
Machine name: WINVDMIM01
Process information:
Process ID: 8168
Process name: Unify.Service.Event.exe
Account name: DEVPARL\svc_UNIFYevB
Exception information:
Exception type: TypeInitializationException
Exception message: The type initializer for 'Unify.EventBroker.Web.EventServiceClientInstance' threw an exception.
at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
at ASP.global_asax..ctor()
Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.
at Unify.Framework.TimingGenerator..ctor()
at Unify.Framework.Logging.LoggingEngineClient..ctor(ILoggingEngineCollector collector) in C:\agent\_work\23\s\Source\Logging\Unify.Framework.Logging.Engine.Shared\LoggingEngineClient.cs:line 25
at Unify.EventBroker.Web.EventServiceClientInstance.CreateComponent(EndpointAddress serviceEndpointAddress) in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 53
at Unify.EventBroker.Web.EventServiceClientInstance..cctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 32
Request information:
Request URL: http://localhost:8080/
Request path: /
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: DEVPARL\svc_UNIFYevB
Thread information:
Thread ID: 4
Thread account name: DEVPARL\svc_UNIFYevB
Is impersonating: False
Stack trace: at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
at ASP.global_asax..ctor()
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-02-20T23:48:01.733210900Z" />
<EventRecordID>327715</EventRecordID>
<Channel>Application</Channel>
<Computer>winvdmim01.devparl.nsw.gov.au</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>21/02/2018 10:48:01 AM</Data>
<Data>20/02/2018 11:48:01 PM</Data>
<Data>311fa6ab5c1a427ba0fa14f6a4f6ec12</Data>
<Data>4</Data>
<Data>2</Data>
<Data>0</Data>
<Data>17c438b0-1-131636439352711348</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>D:\Program Files\UNIFY Solutions\Event Broker\Web\</Data>
<Data>WINVDMIM01</Data>
<Data>
</Data>
<Data>8168</Data>
<Data>Unify.Service.Event.exe</Data>
<Data>DEVPARL\svc_UNIFYevB</Data>
<Data>TypeInitializationException</Data>
<Data>The type initializer for 'Unify.EventBroker.Web.EventServiceClientInstance' threw an exception.
at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
at ASP.global_asax..ctor()
Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.
at Unify.Framework.TimingGenerator..ctor()
at Unify.Framework.Logging.LoggingEngineClient..ctor(ILoggingEngineCollector collector) in C:\agent\_work\23\s\Source\Logging\Unify.Framework.Logging.Engine.Shared\LoggingEngineClient.cs:line 25
at Unify.EventBroker.Web.EventServiceClientInstance.CreateComponent(EndpointAddress serviceEndpointAddress) in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 53
at Unify.EventBroker.Web.EventServiceClientInstance..cctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 32
</Data>
<Data>http://localhost:8080/</Data>
<Data>/</Data>
<Data>127.0.0.1</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>DEVPARL\svc_UNIFYevB</Data>
<Data>4</Data>
<Data>DEVPARL\svc_UNIFYevB</Data>
<Data>False</Data>
<Data> at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
at ASP.global_asax..ctor()
</Data>
</EventData>
</Event>
Answer

Yes. If you can't, please see Adam's comment on the linked topic: https://voice.unifysolutions.net/communities/5/topics/3213-evb-40-assembly-load-issue#comment-17851
Customer support service by UserEcho
Hi Dilip,
Please see EVB 4.0 Assembly Load Issue.