Forums

Forums / Bugs & Issues / Initialization failed : Could not load file or assembly Microsoft.Xrm.Tooling.Connector

Initialization failed : Could not load file or assembly Microsoft.Xrm.Tooling.Connector

Thread is closed for posting
2 posts, 1 answered
  1. piyush
    piyush avatar
    1 posts
    Registered:
    26 May 2017
    07 Nov 2017
    Link to this post

    The error "Initialization failed:: Could not load file or assembly Microsoft.Xrm.Tooling.Connector" comes up on browsing on Sitefinity site.

    Earlier our Sitefinity site was working fine, after adding the dlls of tpc into bin folder, we open Sitefinity site then install the Crm portal connector modules. After this installation, the site doesn't work and throwing the "Initialization failed : Could not load file or assembly Microsoft.Xrm.Tooling.Connector" error.

    The Same error is thrown when we open the site from visual studio.

    Sitefinity Version : 10.1.6502.0
    TPC version : 4.2.10165.0133
    CRM version : Crm 2011

    What could be the cause of this issue?

    Screenshot: https://ibb.co/bVnXdG
    Last modified on 07 Nov 2017 07:11 by piyush
  2. Sonam Joshi
    Sonam Joshi avatar
    29 posts
    Registered:
    20 Mar 2017
    Answered
    10 Nov 2017
    Link to this post
    Check in your project’s \bin folder and look at the version for that .dll file. We’ve seen situations where NuGet puts in version 2.2.0.0 into your \bin folder, but TPC is expecting 2.1.0.0. You may have to copy the contents of the TPC .zip file back into your \bin folder and try again.
2 posts, 1 answered