Support: Could not load file or assembly 'Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Applies To

RMSearch Admin UI.

Symptom

After updating IIS Settings related to Admin website, the above error is thrown by Admin UI.

Cause

Updating the IIS Settings removed a section of assembly bindings from the [RMS Install]\admin\web.config.

Solution

Add them back in.

Search for </runtime> and add the following section in following it so there are two runtime nodes.

<runtime>

     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

                 <dependentAssembly>

                     <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />

                     <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

               </dependentAssembly>

               <dependentAssembly>

                     <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />

                     <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

               </dependentAssembly>

               <dependentAssembly>

                     <assemblyIdentity name="Castle.Windsor" culture="neutral" publicKeyToken="407dd0808d44fbdc" />

                     <bindingRedirect oldVersion="1.0.3.0" newVersion="2.0.0.0" />

               </dependentAssembly>

               <dependentAssembly>

                     <assemblyIdentity name="Castle.Core" culture="neutral" publicKeyToken="407dd0808d44fbdc" />

                     <bindingRedirect oldVersion="1.0.3.0" newVersion="1.1.0.0" />

               </dependentAssembly>

               <dependentAssembly>

                     <assemblyIdentity name="Castle.MicroKernel" culture="neutral" publicKeyToken="407dd0808d44fbdc" />

                     <bindingRedirect oldVersion="1.0.3.0" newVersion="2.0.0.0" />

               </dependentAssembly>

    </assemblyBinding>

</runtime>

Feedback and Knowledge Base