There are two places you should look for web.config file and correct the setting to
<customErrors mode="Off" />
to get meaningful details of your error displayed.
First one is obvious: your site's web config. Open the IIS Manager and explore your site in order to edit web.config file:
Second one had made me think for a second and then I decided to create this post. As I was working on application page which was deployed down in _layouts folder, I found there another web config file to be corrected:
From now on I decided to publish also in English. It will depend on which language will be easier for me to describe the given subject.
OdpowiedzUsuń