Thursday, March 3, 2011

HTTP Error 404.3 – not Found


Error:
HTTP Error 404.3 – not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Resolution
1. Start the command window (cmd) as an Administrator.
2. Navigate to:
C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\

In case you are running on a 64Bit machine, than navigate to: C:\windows\Microsoft.Net\Framework64\v3.0\Windows Communication Foundation\
3. Run the following command: ServiceModelReg –i

Enjoy!

Increase MSCRM Performance

Configure Content Expiration
"To Configure content Expiration: 1. On the Microsoft Dynamics CRM Server, in the Internet Information Services (IIS) Manager administrative tool, right-click Microsoft Dynamics CRM Web Site, and then click Properties.
2. In the Properties dialog box, on the HTTP Headers tab, specify for content to expire after 15 days, and then click OK.
"


TCP Port limit "Increase Ephemeral TCP Port Limit:
To increase the maximum number of ephemeral TCP ports
1. In the Registry Editor, navigate to the subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
2. Click Parameters, and then, on the Edit menu, click New.
3. Create a registry entry using the following information:
Value Name MaxUserPort
Value Type DWORD
Value data 65534
Valid Range 5000-65534 (decimal)
Default 0x1388 (5000 decimal)
Description Controls the maximum port number that is used when a program requests any available user port from the system. Typically, ephemeral (short-lived) ports are allocated between the values of 1024 and 5000, inclusive.
4. Close the Registry Editor, and then restart the computer to apply the new configuration."



Time Period before Closed port becomes available
Create the TCPTimedWaitDelay key at HKLM\System\CurrentControlSet\Services\TPCIP\Parameters as a REG_DWORD value of 30 decimal.


Tracing and Debugging
"Disable. Tracing and debugging are disabled by default and may cause performance issues if enabled. If necessary disable tracing and debugging by configuring the Machine.config and Web.config files as shown in the following sample:


Optimize .NET Threadpool settings
"Modify the machine.config file to reflect the following best practices:
(manually add this parameter and value to the file) maxWorkerThreads - 100
maxIoThreads - 100
maxconnection - 12*n (where n is the number of CPUs)
minFreeThreads - 88*n
minLocalRequestFreeThreads - 76*n
minWorkerThreads - 50
Example of a server with four processors and hyperthreading enabled, these formulas result in the following configuration:



Disable CRM Platform tracing
In the Registry Editor, navigate to the following location and check that the value of the ‘TraceEnabled’ registry key is set to 0 (zero): HKEY_LOCAL_MACHINE Software Microsoft MSCRM