Type Or Namespace Does Not Exist Error Received Accessing A Microsoft Dynamics CRM Organization

Symptom

Consider the following scenario; A Microsoft Dynamics CRM organization is created using the name Portal. After creating the organization a generic error message may be received when attempting to access the organization (URL: http://crmwebsite.contoso.local/Portal):

An Error Has Occurred
Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organizations Microsoft CRM administrator. finally you could contact Microsoft Support

Addtionally, the following event may be reported in the Event Viewer Application log on the Microsoft Dynamics CRM Server:


Event ID: 1310
Event Source: ASP.NET 4.0.30319.0
Event code: 3007
Event message: A compilation error has occurred.
Exception information:
Exception type: HttpCompileException

Exception message: C:\Windows\Microsoft.NET\Framework65\v4.0.30319\Config\web.config(393): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

Cause

The name of the Microsoft Dynamics CRM organization matches a defined 'Location Path' in the web.config of the website in IIS.

Resolution

Create the Microsoft Dynamics CRM organization with a different name

More Information

By default, the web.config for the Microsoft Dynamics CRM website contains several location paths. Each of these location paths are considered a reserved keyword and should not be used as a stand alone name for the Microsoft Dynamics CRM organization. Some of these names include:
  • Portal
  • Platform
  • Support



Properties

Article ID: 3084967 - Last Review: Jul 31, 2015 - Revision: 1

Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM 2011, Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM 2013 Service Pack 1

Feedback