Hi all,
I have created a three page website in FrontPage ran it and it works fine. Then I copied all the HTML of one form and pasted it in one of the web forms and renamed it. I then added the <form id=”FormName” method=”post” runat=”server” > and <form/> tags. I repeated this for all three pages. With me so far, ok good

In IIS I created a virtual directory with a path to the folder that contains my Default.aspx for my three page web site (which is in C:\Inetpub\wwwroot\Alias\folderName).

Back in .NET I compile with no errors. Then I click on View in Browser and I get the follow error message for Web Config:

Parser Error Message:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:
Line 19: "Forms", "Passport" and "None"
Line 20:

-->Line 21: <authentication mode="Windows" />
Line 22: <!-- AUTHORIZATION
Line 23: This section sets the authorization policies of the application. You can allow or deny access


I have tried "Forms" and "None" in line 21 above but with the same result.

Any ideas where I'm going wrong?

Thanks for your time