Resolving “Cannot Create File Mapping” on custom webpage
When I deployed my custom webpage on Windows Server 2008 (64 bit), and accessed it I got an InvalidOperationException with the description “Cannot create file mapping error “. The Microsoft CRM Trace read as follows: Exception information: Exception type: TypeInitializationException Exception message: The type initializer for 'Microsoft.Crm.Authentication.BaseAuthenticationProvider' threw an exception. [2009-05-11 22:42:33.5] Process: w3wp Organization:00000000-0000-0000-0000-000000000000 Thread: 3 Category: Exception User: 00000000-0000-0000-0000-000000000000 Level: Error CrmPerformanceCounterFactory.LoadCounters at CrmPerformanceCounterFactory.LoadCounters(PerformanceCounterLoadSetting settings, String component) at BaseAuthenticationProvider..ctor() at MultipleOrganizationSoapHeaderAuthenticationProvider..ctor() at RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNee...