Friday, 25 July 2014

Why do I keep getting a 500 internal server error?



I built a Asp.net webpage and I have a site master file although when I run it I keep getting a 500 error. I know it has to do with my web.config file but I don't know what to put in it?


Web.Config:



<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
</system.web>
</configuration>


I took away "", so now it says " Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive". Here is the link: http://ift.tt/1plqtl4


No comments:

Post a Comment