If you are using IIS 7(.5), then I would suggest turning on and using
Failed Request Tracing[
^]. The failed request logs are a good way to find out where and why your deployed code is failing.
Make sure that the Application Pool your web application is running under is configured to the same dotNet version that you built the application in.