In the web.config, under system.web section change the code to like below. Which will help you in seeing the actual error. In case if you have REmote Desktop Access to the server where you are publishing then try running the site from there where you will be able to see the actual error.
<customErrors mode="Off" />