CustomError tag is working. The problem was with my errorPage.aspx page, which had a runtime error. Stupid me.Obviously if the error page has an error, then the default error message displays... Maybe this info will be usefull to someone else too.