401.2 Unauthorized – Invalid Authentication Headers When Using Anonymous Authentication

August 3rd, 2013 / No Comments » / by Austin Rasmussen

Nearly all of the posts that I’ve seen on the “401.2 Unauthorized” issue discuss issues with getting Windows Authentication working correctly.  This post is not one of those, and it does not address how to resolve this error message when attempting to use Windows Authentication.  The following post discusses how to get anonymous authentication back up and running after experiencing this error message.

Read more…

Tags: , , ,

RESOLVED: The Steam servers are too busy to handle your request. Error Code (2)

July 13th, 2013 / No Comments » / by Austin Rasmussen

So… I’ve been experiencing issues with installing new Steam games for a while now.  I’ve found a bunch of posts that seem to suggest the typical solutions where you rename the ClientRegistry.blob, verify the game cache, re-install steam, etc.  None of these seem to resolve the issue where you attempt to launch a game for the first time, the “completing installation… 0%” window appears and then you receive a message box that says, “The Steam servers are currently too busy to handle your request. Error Code (2).”

There’s two things I found that may be connected to this, and both seem to involve having Visual Studio installed on this machine.

After installing the two following Microsoft updates, the installation was able to complete without issue:

Tags: ,

Retrieving the COM class factory for component with CLSID {C1F400A0-3F08-11D3-9F0B-006008039E37} failed due to the following error: 80040154 Class not registered

January 8th, 2013 / No Comments » / by Austin Rasmussen

Applies to: Microsoft Windows Server 2008/2008 R2/2010 Operating Systems

This one required more investigation than I would’ve thought.  So much so, that I nearly came to the conclusion that I wasn’t going to be able to do video transcoding.  Fear not though, it is possible and is a straightforward problem to resolve.

Read more…

Tags: , , , , , ,

WHM/cPanel Install Perl Package: Out of Memory

May 24th, 2012 / No Comments » / by Austin Rasmussen

I encountered a situation this morning where I went through the whole Software >> Install a Perl Module, since the default installation doesn’t come with Net::SFTP.

I totally forgot to capture the message, and of course I can’t reproduce it by trying to uninstall/reinstall, but there was some type of out of memory error that prevented the package from compiling and installing.

The workaround is simple, just run the perlinstaller script from the shell.

# /usr/local/cpanel/scripts/perlinstaller Package-To-Install
# /usr/local/cpanel/scripts/perlinstaller Net::SFTP

I didn’t see any reference on how to run this command, so hopefully this helps anyone looking to install a Perl package via the shell using WHM/cPanel.

Tags: , ,

ASP/ASP.NET Session Timeout – How do I change it!?

May 23rd, 2012 / 8 Comments » / by Austin Rasmussen

20 minutes… 20 minutes… 20 minutes… Does this sound familiar?

You’re trying something simple, or so you thought, and increasing the session timeout of your website, but it doesn’t appear to be having any effect.
Read more…

Tags: , , , ,

Running Pyramid Web Framework with FastCGI

May 1st, 2012 / 1 Comment » / by Austin Rasmussen

So, I’ve been experimenting a little bit with Python here and there lately. I finally decided to start looking into some of the different web frameworks, like Django, Pylons, Pyramid, web.py, etc. I chose to start playing around a little bit with Pyramid, mainly because it appears to allow more freedoms than Django (and I’m not going to attempt to build any type of blog/publishing website).

After I finished installing Pyramid and creating the folder structure of my site, one of my next steps was to ensure that I got some sane response from Apache showing that my site is alive. Now, my particular environment uses FastCGI, so I needed to find a way to allow FastCGI to serve up my shiny new Pyramid application that is written in Python.
Read more…

Tags: , , , ,

App Engine ProtoRPC Basics

August 20th, 2011 / No Comments » / by Austin Rasmussen

What is ProtoRPC?

I found out about ProtoRPC when I was looking for a way to expose a web service from a Google App Engine application.  I was investigating several different ways that would allow me to receive requests, process those requests, and send back a response.  Out of the options of manually serializing XML or JSON, extracting GET/POST parameters from the HTTP request, or ProtoRPC, ProtoRPC was a great choice.

One of the cool things about ProtoRPC is that it automatically handles the serialization and deserialization of the responses and requests to/from JSON.  This means that you don’t need a simplejson.loads(…) at the beginning of each web service nor a simplejson.dumps(…) at the end.

If you’re looking for a flexible yet compact way to expose a web service from your Google App Engine app, check out what ProtoRPC can offer you. Read more…

Tags: , , , , , ,

Android Long Click Context Menu

July 30th, 2011 / 2 Comments » / by Austin Rasmussen

To demonstrate adding a long-click content menu to a ListView, I’ll reuse the Stock Viewer application from here: Android Lists V: Accessing and Consuming a SOAP Web Service II.

Read more…

Tags: , , ,

Android Date Time Setting Dialog

July 16th, 2011 / 1 Comment » / by Austin Rasmussen

So, you want to allow the user to make a date and time selection in your application?  Android provides independent date and time selection dialogs that we can use to accomplish this task.

Read more…

Tags: , , ,

Android Program/User Preferences: XML Activity

July 13th, 2011 / 1 Comment » / by Austin Rasmussen

Are you managing your application preferences like this?

SharedPreferences preferences =
          PreferenceManager.getDefaultSharedPreferences(this);
Editor prefEditor = preferences.edit();
prefEditor.putInt("myPreferenceName", 42);
prefEditor.commit();

Well, there’s a much simpler way to manager application preferences that is built into the Android framework!
Read more…

Tags: , ,