Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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?)

↑ Back to the top


Cause

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

↑ Back to the top


Resolution

Create the Microsoft Dynamics CRM organization with a different name

↑ Back to the top


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



↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3084967
Revision : 1
Created on : 1/7/2017
Published on : 7/31/2015
Exists online : False
Views : 364