Last post Jun 21, 2010 05:07 PM by nizam133
Jun 21, 2010 01:40 PM|simhavi|LINK
I get the following 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.
My Architecture is 4-tier
I created a website and saved in a file system and also added class library projects named as DAL,BLL,Business Objects.
So i have all 4 projects at the same level in my solution. Now i wanted to run it in IIS 5.1 and without the default server(cassini).
One is a website and the rest are class library projects.
Here, My web config is in the website project and is not in the root level of the solution. When i am trying to run it thru IIS , it's throwing the above error.
Please help me how to resolve it. And also let me know in this scenario how to move the webconfig inside the website project to root level of the solution.
This is urgent.
Jun 21, 2010 05:07 PM|nizam133|LINK
You need to create application, you can right click your virtual directory > Properties > you will get a window , there you can hit button create application, and also allow script only permission
check this post