I am in the section "How to take advantege of IIS 7 Integrated Pipeline". Here I must create new files and save in the wwwroot folder such as Default.aspx, Web.config and so forth. I have done all of this and I try to log into the local host default.aspx I keep getting an error page. I cannot figure out what the problem is. Below is the error message.
Compiler Error Message: CS0116: A namespace does not directly contain members such as fields or methods
Source Error:
Line 1: <configuration>
Line 2: <system.web>
Line 3: <membership defaultProvider="AspNetReadOnlyXmlMembershipProvider">
Source File: c:\inetpub\wwwroot\App_Code\XmlMembershipProvider.cs Line: 1
On line 1 there is a red wavy line under the first< in configuration. I underlined it to show the location.
Server Error in '/' Application.
This is on the top of the page. E-mail reply to dunciet@hotmail.com