- Open Command prompt as 'Administrator'
- move to the path cd C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\CorFlags.exe
- then type the command CorFlags.exe /32BIT+ c:\yourpath\yourservice.exe
- above command force your windows service to run in 32-bit mode
- to stop running in 32-bit, run below command
- CorFlags.exe /32BIT- c:\yourpath\yourservice.exe
Note: Before running point 3 or 6, make sure that your windows service is stopped. CorFlags.exe may not be available in all Operating Systems. Copy/download this exe file from available location and place it anywhere in the server (effects to point2)
For more references,
https://sites.google.com/site/kishorenetblog/asp-net/corflags-exe
Yours
Venkat