There wouldn't be any log files with errors... the issue was the code wasn't running at all because the trigger wasn't valid. If you open the insert or update server behavior and use the select list to choose the button press trigger associated with the form on the page it should generate the correct code.