500 internal server error after submitted a given answer

After I submitted a given answer,it shows 500-internal server error instead of "It seems that answer was already given." The same thing happened when I submit a asked question.
The machine used IIS. Did I do something wrong with the configuration? Because this plugin works fine on another machine which used Apache.