Configuring IIS7 -- Need Help!

I’m working with the original Build Your Own ASP.NET Website Using C# and VB.NET that i bought years ago. However, the information is too old for me to figure out why my local host account isn’t working as expected. I get the IIS7 page, but when i create a virtual directory and put my website in the directory and try to reference that directory Http://localhost/mywebdocs i get an error message.

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

I’ve tried looking online for a link on how to configure IIS7 but I’ve so far been unsuccessful.

I’m using Windows 7 Home Premium.

Would these help:

Thanks I’ve looked at the first link and I don’t understand Point #2

In the Connections pane, expand the server name, expand Sites, expand the Web site to which you want to add the virtual directory, and then click the application to which you want to add the virtual directory.

I stuff that is underlined I don’t understand. I have a Virtual Directory created however and I can view the folders in it that I placed in it yesterday. but the Index.htm or default.htm page does not show up when i type localhost/mywebdocs

I’m going to look at the other link. Thanks!

The problem is the app pool is configured for the wrong version of .NET so it is failing to read the configuration file and crashing. Change versions of .NET in the app pool and you should be good to go.