Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have 3 folders in my application BLL, GUI and DAL. The web.config file is in GUI.
I have created a virtual directory on IIS and trying to open the page from browser as like http://localhost/SMS/GUI/LoginPage.aspx, but it is giving 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.
Please help me
Posted
Updated 10-Nov-11 21:58pm
v2

 
Share this answer
 
Comments
utkarsh3146 11-Nov-11 4:08am    
That is not working sir, but thanks
Try to check the web.config file is in correct format . for more details see the article by shashikanth How To Deploy a Web App in IIS[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900