Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

Recently my computer was fitted with Windows 7, 64 bit version. Trying to run a Sitecore 5.3.1 web application proved to be a hassle. Initially things went smoothly. Apps that were created on XP and Vista worked find. Untill I had to include some .NET Framework v3.5 functionality. After building and trying to run the site I got 'is not a valid Win32 application'. The error didnt include what was not a valid application.

Solution was found in enabling 32bit execution on 64bit IIS7.

Execute the following line in a command window:

cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

Additionally, the web application was build using x86 as platform target.

 © Evident Interactive BV