Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

CRM 2015 - Publish custom MVC 4 website to virtual directory

$
0
0

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


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>