It is a setting for the application pool.
http://technet.microsoft.com/en-us/library/cc731784%28WS.10%29.aspx
You may need to change the code so that it functions ok in Integrated mode but that is more of a coding issue. Often AppCmd Migrate Config <config> will work for migrating .net code