It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

Scott Michell wrote an excellent article about the above error explaining exactly why are you getting this error. Basically you are opening the parent folder of a project in Visual Studio and you get this error. Since web.config in this case is in sub folder, you get this error. A little Explanation There can be more than one web.conf files in your application. They can be all in root or in sub folders as in nested form. The root web.conf can contain almost all elements but that that are nested in sub folders may not contain certain elements. This error…

Read More

set up new website in iis7

Setting up new site in IIS can be tricky. Actually the process is easy most of the time it may not work for you mainly because of Application pool setting or for other unknown reason. I had similar issue setting up site in IIS7 today so I will write all the steps, What you should be doing and what you should not be doing. This tutorial is for IIS7 on Windows7 System. Steps to Setup Site in IIS7 Start IIS by typing IIS in Start-> Search Box. If it is not installed you have to install by going to Add/Remove…

Read More