Subscribe to Feed

Archive for April, 2011

In a .Net 4.0 or later web application you may receive an error similar to
“The configuration section yoursection cannot be read because it is missing a section declaration”

when you try to get the web configuration information using Microsoft.Web.Administration.ServerManager API even when your web.config file looks alright and you do declare “yoursection” in the [...]

One of the caveats with using RenderControl to spit out the HTML content that an ASP.Net server control generates is that any server control that renders client side JavaScript raises a http exception when rendering the content of the control to a HtmlTextWriter. There are couple of ways you can bypass this in .Net. One [...]