Tried the below and it works. (Source from http://jeffmurr.com/blog/?p=77)
Export the IIS config of a working web server and import using the Shared Configuration of IIS 7.
1. Navigate to the root of you server in IIS admin console
2. Double click shared Configuration
3. Click Export Configuration on the left hand pane
4. Select a location
5. Select a Password
6. And Select OK
7. This process creates files to be imported on target machine
8. Move the files to a location on the target server
9. In Shared Configuration manager on the target machine check the Enable Shared Configuration and select Apply
10. Enter the password when prompted
11. Ok to the follow couple of prompts
12. IISReset
13. Navigate to your resource to confirm it renders (no longer an 500.19 error)
14. In Shared Configuration manager on the target machine un-check the Enable Shared Configuration and select Apply
15. Select yes to overwrite
16. Yes when prompted to IISReset
17. Perform IISReset