Infamous assembly binding error

后端 未结 10 925
星月不相逢
星月不相逢 2020-12-07 20:20

I really need help on this because I lost my hopes to correct the problem.

I am using Office Communications Server 64bit libraries. There are 3 dlls I use in the pro

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 20:32

    In my case I had gone through my site and replaced the name of the site with a new name. I inadvertently replaced the 'PreviousWebSiteName' with the 'NewWebSiteName' in Web.config where the assembly name was being specified.

        
      
        
      
    
    

    The site was still building an assembly with the old name - I only intended to change the site name where it was appearing on the pages of the site; I didn't need to change anything internally. Restoring the Web.config entry as it was before my naming change (resulting in an entry that matched the name of the built assembly) resolved the error for me.

提交回复
热议问题