How to set web.config file to show full error message

前端 未结 3 1978
小鲜肉
小鲜肉 2020-11-28 21:38

I deployed my MVC-3 application on windows Azure. But now when I am requesting it through staging url it shows me (Sorry, an error occurred while proces

3条回答
  •  时光说笑
    2020-11-28 21:58

    not sure if it'll work in your scenario, but try adding the following to your web.config under :

      
        
      ...
      
    

    works in my instance.

    also see:

    CustomErrors mode="Off"

提交回复
热议问题