----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: BusyWizy Message 3 in Discussion each application can have only one web.config file. so if u want to have 2 web.config files, u will have to split your public files and admin files into 2 seperate applications. also make sure the folders are configured as "Applications" under IIS. instead of having 2 web.config files, u can have one web.config file, but use a <location> element to specify different security settings for the other folder. this is the easiest, and best way to accomplish what u want. regards, nauzad kapadia [mvp] > From: Mangesh > Message 1 in Discussion > > Hi friends I have 2 folders in 1 project. 1 folder > containing the files of public application(any body can > use by specifiying URL) and 2nd folder has private > application files (admin section). Now i want to use > form Authentication for the private application. for > that I add web.config file in the 2nd folder add the > appropriate code too. Now 1 web.config file available > on the root and 2nd is in private application folder. > while running the private application it is giving me > error "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." > can any body tell me what i did is possible or not if > yes then please tell what i did wrong? > Thank you > > > > > > --------------------------------------------------------- > --- > > To stop getting this e-mail, or change how often it > arrives, go to your E-mail Settings. > http://groups.msn.com/mumbaiusergroup/_emailsettings.msn- > w > > Need help? If you've forgotten your password, please go > to Passport Member Services. > http://groups.msn.com/_passportredir.msnw?ppmprop=help > > For other questions or feedback, go to our Contact Us > page. > http://groups.msn.com/contact > > If you do not want to receive future e-mail from this > MSN group, or if you received this message by mistake, > please click the "Remove" link below. On the > pre-addressed e-mail message that opens, simply click > "Send". Your e-mail address will be deleted from this > group's mailing list. > mailto:[EMAIL PROTECTED] ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
