Hello everyone,
I'm facing an issue regarding deploying WEB API to IIS. Everything works well whenever I run my project on localhost. The error I'm facing is :
HTTP ERROR 500.19 - INTERNAL SERVER ERROR
The requested page cannot be accessed because the related configuration data for the page is invalid
I've tried many things but nothing worked for me.
OS: Windows 10
IIS Version 10.0
Visual Studio Version 2015
This is how my web config looks likes
providerName="System.Data.SqlClient" />
value="GET, POST, PUT, DELETE, OPTIONS" />
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Manav PandyaRank #166 · 14.3K reputationPosted Jul 5, 2018, 9:28 PM EDT