If you are facing Error 500/503 on SharePoint 2010 on a Windows 2008 64x bit machine.

Here is the solution.

Go to the IIS,

Go to the App Pool of your website.

Change the Advance setting setting as per the below image

i.e.. Enable 32-bit Application to False

image