Share via


Unable to deploy 32 bit ASP application on IIS 7 server

Action
======
Deployed an ASP application on IIS 7 server that was using 32 bit components. hence we changed the AppPool porperties to enable 32 bit mode.

Problem
=======
After we changed the app pool to run on 32 bit mode, the website stopped working and we were getting 500.19 –Internal Server error.
We also found the following error message in the event viewer: “Error: The Template Persistent Cache initialization failed for Application Pool <app pool name> because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool.”

Cause
======
We have WSUS and sharepoint also deployed on the same server. Though these are been served by separate application pools but compression schemes are registered globally on the server level. Hence httpcompression settings were causing the 500.19 errors here.
 

Resolution
==========
To fix this, we disabled httpcompression on the server using the following command:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']