Tag Archives: asp.net

“Unable to load one or more of the requested types.” when using EntityDataSource with Entity Framework in ASP.NET

I always love pushing something out that fails miserably and randomly. Especially when using straight Microsoft technologies. It seems these folks don’t eat their own dog food, or we wouldn’t encounter this crap. Anyway, it took quite a while to figure out the resolution to this issue, but it all lies in the fact that… Read More »

How to optimize download performance for files stream from your database via asp.net

I had a requirement to create a download page that streamed office documents to the client from our website. The way Office (Word and Excel at least) open documents from URL’s are the browser downloads it first, then Word and Excel call back to the server to make sure nothing changed. Normally, these results in… Read More »

How to fix Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

If you did what I did, and just picked the default IIS installation options for your Windows 7 box, then you probably get a bunch of fun errors. This one is if you didn’t install IIS support for asp.net. (WHICH SURPRISE, IS NOT DEFAULT SELECTED) This configuration section cannot be used at this path. This… Read More »

VS 2010: An error occurred loading a configuration file: Failed to map the path ‘/’.

I was using the System.Web.Configuration.WebConfiguration class to open the configuration for the site from one of my logic dll’s and I got the wonderful error An error occurred loading a configuration file: Failed to map the path ‘/’. I freaked out for a second, until I put more thought into it. This is running fine… Read More »

HttpRequestValidationException after upgrading to .NET 4.0

The new .NET 4.0 changes the way that the page validation occurs. It puts in validation in more places now which can cause some issues. <httpRuntime  requestValidationMode=”2.0″ /> If you want to revert back to the old validation, just make the following change to your web.config. Make sure you set the validateRequest = false on… Read More »