Deploying website: 500 - Internal server error

后端 未结 22 2511
情深已故
情深已故 2020-11-21 23:30

I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when visiting it with the browser, it shows me this:

Server Error

22条回答
  •  深忆病人
    2020-11-21 23:59

    I was pulling my hair out over this issue. Making sure the following entry was in the root web.config file fixed it for me:

    
      
        
      
    
    

    Remember that you have to add this to the existing XML elements, if they're already there. You can't just add at the end of the file, because you can't have multiple copies of any element.

提交回复
热议问题