Thats not an error, that is ASP code.
The success page is a static htm page:
it looks like there is ASP code on that page.
since it is a static HTM page, the server does not know what do with the code, so displays it.
the SP code should be deleted from the static page.