1. Put IIS into 32-bit mode by running the following command:
cscript %systemdrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
2. Register the 32-bit ASP.NET by running the following command from your framework \v2.0.xxxxxx location, for example, in C:\WINNT\Microsoft.NET\Framework\v2.0.xxxxxx: