I got the same error. In my case, the solution is quite simple. I checked the IIS Default Web Site Properties -> Home Directory -> Local Path. Don't add any "\" character at the end of the directory. IIS will automatically add one thus cause problem if you manually add one before. You can check Default Web Site Properties -> ASP.NET -> File Location for actual setting information