It is an error to use a section registered as allowDefinition3dMachineToApplication beyond application level This error can be caused by a virtual directory not being configured as an application in IIS
To avoid this error,
1. Make sure that you don;t have web.config file in sub folders of your virtual directory.
2. You might have created backup folder of web application along with web.config under same root virtual directory.
3. You might have configured your virtual directory to physical web directory where there doesn't exist web.config / app_code directory of your web.