Click here to Skip to main content
15,041,393 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.  C:\Users\avinash\Documents\Visual Studio 2010\Projects\VideoUploaderControl\UploadGallery\web.config 29

Actually I got this error message, already created the database and connect to ASP I do this all operation in Windows 7 OS.
This is the example which I got from your site Video uploader control.

Send me all the details step by step, for this I will always be great full to you.

Edit: Removed shouting
Updated 22-Sep-11 9:22am
jim lahey 22-Sep-11 15:18pm
no need to shout..

1 solution

You need to do what it says in the error message. Go to the IIS management console, find the virtual directory and configure it as an application from the context menu you get from the virtual directory in the tree view on the left.

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