an error to use a section registered as allowDefinition='MachineToApplication' beyond

devsalvi

New member
Joined
Jul 7, 2007
Messages
1
Programming Experience
3-5
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.
I was trying out one of the tutorials. I have the iis setup. It opens other website projects just fine. But when I created this and tried to view it in a browser, it gave me the above error ? Can anyone please help me get around it. Thanks in advance.
 
The problem is with the web.config file, make sure if this is not your application directory reomve the web.config file from it.

If you want this folder to be a applicaiton , go to IIS and make sure that you create a application for this folder.

Let me know if you have any queries.
 
Back
Top