Why is it that when I run it on the production machine I get "Server Error in '/' Application."
Usually the error message has a bit more information than what you've shown.
The setting mode="RemoteOnly" means remote clients see a custom error message while users logged in to the web server can see the actual exception. If you have the capability to remote (login) into the server, then you can see a detailed error by using the server's browser to access the web site. Otherwise; set the custom errors mode to off and re-deploy. This will allow you to see the detailed error message from a remote browser.
It's typically a simply fix once you can see the exception and stack trace.