Quote : In that case, both are applied, and you get this error.
To fix this, remove the one from wroxunited (copy its contents to the other) or open the website so that WroxUnited as the root.
-----------
I am still getting this error
I tried opening website so that WroxUnited was the root and am getting the following error. I am using SQL Server 2008
on Windows Vista -home and using Visual Web Developer 2008 Express Edition.
I could not figure out how to go about doing the other alternative with web.config either i.e adding content of one inside WroxUnited into the file that is outside.
Server Error in '/Chapter03' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please
review the specific error details below and modify your configuration file appropriately.
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 39: Set forms authentication and define the login page
Line 40: -->
Line 41: <authentication mode="Forms">
Line 42: <forms loginUrl="Default.aspx"></forms>
Line 43: </authentication>
Source File: D:\begASPNET2_CS\Begin\Chapter03\wroxunited\web.co nfig Line: 41
---------
the address in the address bar was :
http://localhost:52995/Chapter03/Wro...d/Default.aspx
plss help