Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi.
i have designed a form a ASP.net4 and when i want to run the solution and visit my
form in the browser this message is shown :

Error 1 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.
Posted

1 solution

Hello,

As you have mentioned this error is occuring with ASP.Net 4.0, I am assuming that you are using VS2010. Please go through following link to get your issue resolved.

http://stackoverflow.com/questions/2355947/error-allowdefinition-machinetoapplication-beyond-application-level[^]

http://www.sellsbrothers.com/posts/details/12673[^]
 
Share this answer
 
Comments
Sandeep Mewara 11-Jun-12 5:08am    
Good link! 5!
Vani Kulkarni 11-Jun-12 5:17am    
Thanks Sandeep..

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