ASPCONFIG: Could not load file or assembly or one of its dependencies. Access is denied.

Problem While publishing a web application you get a puzzling error that reads like the following in the output window: 1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v \ -p C:\Dev\WebApp\obj\Release\AspnetCompileMerge\Source C:\Dev\WebApp\obj\Release\AspnetCompileMerge\TempBuildDir 1>ASPNETCOMPILER(0,0): Error ASPCONFIG: Could not load file or assembly...

Camtasia 8.6 throws C++ Runtime error when importing MOV files

The frustrating problem Upon creating a new project and attempting to import an MOV file you can get an error that reads: Microsoft Visual C++ Runtime Library Assertion failed! Program: … File:¬†DSMediaDetStatsLoaderHelper.cpp Line: 65 Expression:...

A very simplistic explanation of events in C#

Introduction If you just want to see the code involved, go to the end of this article. I am really writing this for myself because on the rare occasion that I have to rely on...

How to use Excel and tSQL to help you Generate Code

Introduction It’s amazing to me the reactions I get when I show people seemingly simple tricks on how to automate or generate code and/or script generation. Whenever I see a pattern, that means there is...

TSQL: Passing objects to stored procedures via XML

Introduction This is a subject I have heard about repeatedly, but I never bothered looking into it until recently. I was told that writing hard coded insert and update statements is bad practice. To which...

Simple Class Creator Published on Google Code

05/25/2014 UPDATE: I moved the code to a different project. I have made a number of changes since 2012. 11/14/2015 UPDATE: I moved my whole repository from GoogleCode to GitHub because GoogleCode shut down. My...

GridView does not have a default Insert Support

Here is a fun fact for you. The ASP.NET GridView control does not have default Insert Support for your objects, even if you are using the “InsertItemTemplate” tag, it doesn’t matter! That template is apparently...

Entity Framework: Executing SQL Strings

I’ve griped about this before, not sure why everything has to be so complicated with EF at times, but holy hell executing just a simple SQL String “SELECT * FROM Table” is a major feat...