What to do if you get “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”

Please view the following URL for cause and resolution of this problem http://forums.asp.net/t/769696.aspx Most of the times this occurs if you have a more than web.config defined in your sub folders.

How to add a value to asp:Checkbox control and retrieve it on postback?

The <asp:Checkbox> is one of those controls in ASP.NET which does not have a default Value property in which you can store a value and retrieve it upon postback. This becomes a problem in cases where the value has to be saved into the database or an action depends on the condition of that value. … Read moreHow to add a value to asp:Checkbox control and retrieve it on postback?