I have a Windows 2008 x64 server with WSUS installed and, thus, broken websites that use 32 bit app pools. This problem is due to the definition of a compression scheme within the applicationHost.config file for IIS. We have solved the problem for now in a rather dirty fashion by copying across a 32 bit version of suscomp.dll but I'm convinced there must be a better way!
I can solve it another way in the IIS7 GUI as follows:
- at the web server level, unlock the StaticCompressionModule and DynamicCompressionModule entries under 'modules'.
- at my web site level, delete these modules.
Simple enough - only two steps, gotta be scriptable, surely?? I can do the second part using appcmd as follows:
appcmd delete module "DynamicCompressionModule" /app.name:"Default Web Site/mysite"
But that just gives me a Lock Violation if I try to do it without step 1. Problem is, I can't for the life of me figure out how to unlock the individual module at the web server level using either Powershell or appcmd. Surely this has got to be possible?
Anyone else come across this and have any nuggets to share?
Thanks, Al.