One of the great promises of .Net was the escape of DLL Hell. While the .Net framework has reduced it from uncontrollable levels, any experienced developer can tell you it’s far from gone. Especially when you need to write code and then deploy it to multiple servers. Fortunately, there are tools that can help.
Continue reading Escaping DLL Hell in .Net with NuGet
I have come across a situation recently where I am coding in DEBUG mode and things are working perfectly. When I go and try to get things running in RELEASE mode, I get an error.
Continue reading It works in DEBUG but not in RELEASE
Recently, a co-worker ran into a problem I had run into many times in the past. After taking a few minutes to figure things out I was able to help him. It surprised me that I hadn’t blogged about this before. So here we go…
Does this look familiar to you?
The type or namespace 'SomeNamespace' could not be found (are you missing a using directive or an assembly reference?)
I bet you’ve probably seen it before. It happens when you forget to include a reference in your project or if you don’t use a ‘using’ directive to include the assembly. Continue reading Type or namespace could not be found (are you missing a using directive)?
I’m working on an MVC Website. In development in Visual Studio, things are working perfectly. My app needs to run in IIS. Easy enough, right? Just set it up in IIS and you’re off and running.
Recently though, my IIS instance of the site stopped working. What?! I began to get the following error:
HTTP Error 503. The service is unavailable.
Wha wha wha?! I checked IIS and it’s running properly. What the heck? SQL Server is okay. The thing works perfectly in Visual Studio. ARG. Continue reading Weird HTTP Error 503
Recently, I’ve been working on a project that relies on a backend business object layer. The business object (BO) layer, requires authentication in order to be used. For most of the systems, this is okay, but my project is to be used by end users. We don’t need to authenticate the users… we need to authenticate the system.
This is easy enough using the CustomPrincipal object in Rocky Lhotka’s CSLA framework (which is also being used). We simply create the CustomPrincipal and add that to the ApplicationContext. Continue reading CustomPrincipal and Serialization
There’s a commonly known piece of information that pretty much everyone knows… use it or lose it. It applies to foreign languages, computer language, cooking techniques… all sorts of things.
Things like the code to unlock restrictions on an iPhone! Continue reading Use it or lose it
I got a text message from AT&T this morning. It was a courtesy message to let me know that I was approaching my monthly data limit. I only signed up for the 200Mb plan so 65% of that means that I’ve used up 130Mb. How the heck did that happen?!
It turns out it’s not that hard to do… especially when you update your applications just before you leave the comfy confines of work and free wi-fi. I began the application update while connected to the wi-fi at work, but then left for home. The phone dutifully continued to update the applications over the cellular network. Ooops! Continue reading Burnin’ up the cellular data
Everyone knows they should be backing up their data, right? Just like flossing and rotating your tires though, sometimes it’s easy to let it slip for a while. But for those of you that *do* backup your data, are you doing it right?
First of all, there’s really no excuse for not backing up your data now-a-days. External hard drives are really affordable and dead simple. Backup software is built into most modern operating system to make it as invisible as possible. If you’re not backing up your data, you must have some sort of obsession with tempting fate. Continue reading “Belts and Suspenders” or how to be really protected
Here I am… happily working along when suddenly, the screen goes gray. My headphones cut out and I’m left in awful silence. On the gray screen, I get the following message…
“You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again.”
Continue reading Macs are awesome, but…
We run lots of batch processes overnight. We do this to send emails, to generate reports, etc… We do all this via Windows Scheduled Tasks. It works great.
Recently, I needed to add a new scheduled task. I went through the process of adding the task but when I tried to run it, it failed. The error message I got was “Could not start task“
Continue reading Windows Scheduled Task