I have developed an MVC 4 website that interacts with CRM 2015 (via SDK) and it works fine from my VS 2012. When I publish the website to the CRM Server, I get an error with a dll which I am not using in my website. The website is published inside a virtual directory with it's own application pool. The error I keep getting is the following:
-------------------------------------------------------------------------------------------
Could not load file or assembly 'Microsoft.Crm, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 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 'Microsoft.Crm, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
-------------------------------------------------------------------------------------------
Can anyone help with this issue?
Thanks
*This post is locked for comments
I have the same question (0)