I was trying to install a CMS in a folder in my website. After the installation and trying to run, it shows this error:
Error 14 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. E:\Documents\Visual
Studio
2010\WebSites\WebSite20\blog\web.config 61
I added the website as a Virtual Directory and also converted that to application. On trying to browse this application, the following error occurs as shown in the screenshot:

How do I solve this?
This error I believe now is that you need to setup the Default Document. Go into IIS and select the Default Document option (IIS 6 or 7, has to be installed), and set it to the default page you’d like to show. Or type in the path with the ASPX document included. So enter: http://localhost/mysite/default.aspx, or set the default document as default.aspx. That’s typically the cause.
HTH.