IIS 7 and Above
Enable 32-bit applications in IIS
Last post Apr 24, 2013 04:48 AM by NavinKumar.K.S
Jun 13, 2012 11:25 AM|ychernetskiy|LINK
Jun 13, 2012 12:00 PM|AccuWebHosting.Com|LINK
Following is step to enable 32-bit Applications from IIS7 manager:
You can also preform following steps to enable 32-bit Applications via command Prompt :
1.Opening command prompt and navigating to the directory %systemdrive%\Inetpub\AdminScripts
2.Type: cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
Jun 14, 2012 04:08 AM|ychernetskiy|LINK
Jun 18, 2012 05:49 AM|Lloydz|LINK
As far as I know, there's no direct option to enable 32-bit application during publishing in visual studio. However, you may consider run a script to enable 32-bit application for application pool settings after publishing.
Jun 18, 2012 07:11 AM|ychernetskiy|LINK
Apr 24, 2013 04:48 AM|NavinKumar.K.S|LINK
One more question in the answer what you have made. please let me know how can i do that above step from code behind am using C#.
Navin kumar K Subramanian