add this in web.config
to show error, without generic error pages
after the error is showed, in my case, my published folder is missing Report Folder from Crystal Report, I had to copy manually
you can get detailed explanation from this link
https://stackoverflow.com/questions/24300869/an-error-occurred-while-processing-your-request-mvc-4