So, instead of receving the following error on the remote server:
Sorry, an error occurred while processing your request.
I get the following (like debugging locally):
Server Error in ‘/’ Application. The UPDATE statement conflicted with
the FOREIGN KEY constraint … …
I have
<compilation debug="true" in the web.config>
Turn custom errors OFF in your web.config. However a better alternative is to install ELMAH and log the error and have it delivered to you or view it over a secured page.
http://code.google.com/p/elmah/