views:

16

answers:

1

Hi Excepts, I want to manage two web.config file in a application one for the front-end user and second for the back-end(admin) user.for admin section I have created a folder with name admin in the same website.following settiongs are in the admin/web.config

when I am trying to run the application I am getting following 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

Same problem have discussed on below http://stackoverflow.com/questions/1546568/asp-net-error-tt-is-an-error-to-use-a-section-registered-as-allowdefinitionmac

http://stackoverflow.com/questions/690909/it-is-an-error-to-use-a-section-registered-as-allowdefinitionmachinetoapplicati

Please give me some suggestion to solve this problem. Thanks in advance

+1  A: 

You need to set it as as an application in IIS.

eglasius
I am using IIS 6, how I will do this, can you tell me the steps
Adam
from the top of my head: right click the folder, open the properties and look for an option that says make application or something like that.
eglasius
http://www.affiliatewiz.com/support/appstartpoint.asp (just searched: iis create application)
eglasius