This is the second question related to this matter, but I am now using a different machine (Windows 7 rather than Vista). I asked this question in another thread, but I think it really counts as a new question so I have closed the other question.
I have been given the files for an ASP.NET website and I need to get it running locally on IIS. I was having trouble getting any site to run locally on the Vista machine I was using, but I have set up IIS on Windows 7 and have managed to get a site I had written myself using Visual Web Developer to run correctly on it.
However, I am still having problems with the other site.
When I load a web page, I get the error -
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Handler Not yet determined
Error Code 0x8007000d
Config File \\?\C:\inetpub\wwwroot\REA
Requested URL http://localhost:80/REA/default.aspx
Physical Path C:\inetpub\wwwroot\REA\def
Logon Method Not yet determined
Logon User Not yet determined
Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
The web.config file is not empty. Any idea what the problem could be?