That error means it is failing to load the web.config file. Any kind of typo can cause that, an extra angle bracket or a malformed comment for example. make sure you don't comment around something that already has a comment as that will cause an error.
Make sure you are using a .NET 4 app pool preferably with Integrated pipeline mode.