Enable IIS Dynamic Compression

IIS compression increase the performance and decrease the usage of network bandwidth.

There are two types of IIS compression:

  • Static: compress and cache compressed files like (*.html, *.htm,*.doc, *.xls, *.ppt,*.txt)
  • Dynamic: compress each http request without cache.

To enable Dynamic Compression ,please follow the below steps:

Windows 8

Go to Control Panel > Programs and Features





Turn Windows features on or off

Internet Information Services > World Wide Web Services > Performance Features


Windows Server 2008 R2

Go to Server Manager > Roles > Web Server (IIS) > Add Role Services



Windows Server 2012

Server Manger > Dashboard > Add roles and features






Installing SharePoint 2013 on Windows Server 2012 Error

When you try to install SharePoint 2013 on Windows Server 2012 you need to install he prerequisites before SharePoint 2013.

You may get this error.

And when you open the log file, you will see the below error

Error when enabling ASP.NET v4.0.30319


Go to Server Manager >> add roles

use Role-based

Select Web Server (IIS)

Pass the Features and Web Server Role (IIS)

You may need to restart the server after above changes