Category Archives: Weird ASP.NET Errors

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 … Continue reading

Posted in Troubeleshoot, Weird ASP.NET Errors | Tagged , , , | Leave a comment

Weird ASP Bug – Gridview update does not work if there is somethign in page_load function

In my Gridview, select, insert, delete all were working properly but not Update. Found out that my code in Page_load() was causing this not to work. I removed the code from page load where I as updating the Gridview. The … Continue reading

Posted in Weird ASP.NET Errors | Leave a comment

Weird ASP.NET Error – Insert does not work in FormView in ASP.NET

You have a FormView and an Insert Template inside it, if you put the insert template fields in an ASP.NET table for better formatting, the insert function will not work. This is very weird. In the above example, the fields … Continue reading

Posted in Weird ASP.NET Errors | Leave a comment