Hello everyone, I am hosting currently on GoDaddy. I tried to upload a .net application, but it is displaying 500 internal server error IIS. It supports IIS7. The customer care told me to update my web.config file. Kindly help me out to fix this problem.
Fix 500 Internal Server Error IIS ASP 3.5
You can solve this problem in 3 ways:
Solution1:
Change the web.config file:
<system.webServer>
<validation validateIntegratedModeConfiguration=”false” />
</system.webServer>
Solution2:
Replace the root folder file with this:
<configuration>
<system.web>
<compilation defaultlanguage=”c#” debug=”true” />
</system.web>
<appsettings>
<add key=”ConnectionInfo” value=”server=(local);database=Northwind;Integrated Security=SSPI” />
</appsettings>
<system.webserver>
<validation validateintegratedmodeconfiguration=”false” />
</system.webserver>
</configuration>
Solution3:
You can basically try to change the asp version to 3.5 from 4.0.