I hate IIS today
I am trying to execute the following piece of code:
Of course, this fails with a completely bizarre exception.
For some reason, I have the feeling it is not supposed to do that. Trying to explicitly pass the path where web.config lies also fails. When I finally made it use the correct path, it still gave the same error.