HTTP Error 500.21 – Internal Server Error

I was installing Sitecore tonight on a fresh install of Windows and ran into this old error:

HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

It wasn’t the first time I’ve seen this error, but I always shave to look it up when I run into it because I hadn’t committed the solution to memory.

A quick Google and a visit to Stack Overflow got me the answer I needed. It was because ASP.Net had not been installed into IIS, and that is pretty easy to fix. Just open up command prompt with admin privileges and run the following command:

"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe" -i

You should then see the following on the screen:

Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation.  All rights reserved.
Start installing ASP.NET (4.0.30319.0).
.....
Finished installing ASP.NET (4.0.30319.0).

At that point you can close command prompt and then go back to your web browser and refresh the page. It should load without issue!

Tags: ,

  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments

Drupal – Rebuilding Node Access Via Drush in Windows

So this one is pretty simple, but I’m not ashamed to say I spent too much time struggling to figure out why this wasn’t working. Rebuilding the node access via the website kept resulting in the website timing out, so instead of tweaking the max execution time and other things like that in order to get it going I figured we should be able to run the command through Drush. A quick Google told me this was possible, and that the command was:

drush php-eval 'node_access_rebuild()'

So I ran the command, no errors or any feedback was given but it appeared to have worked correctly. The only issue was that it seemed too darn fast, rebuilding the node access on a large site should take some time, not one second. So after a little testing I confirmed it did not work and went back to the drawing board.

Eventually I stumbled upon the answer, in Windows the command is slightly different and uses double quotes instead of single quotes. So if you are running Drupal and Drush within a windows server, you’ll want to run the command as follows:

drush php-eval "node_access_rebuild()"

As usual, the solution is simple once you know the answer 🙂

Tags: , , ,

  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments

Roomba 530 Battery Replacement & Update

A while back I started keeping some logs of my Roomba’s battery life. I never did as many updates as I hoped but I’d like to come back now and talk about the battery some more. I purchased the device in June 2010 and it is now June 2016, which if you passed grade 2 math will tell you I’ve owned it for 6 years. Just this last week I put in a second new battery, meaning it is now on it’s 3rd battery. That means I’ve gotten about 3 years out of each battery, which isn’t bad. This battery should last me until about June 2019.

With both of my previous batteries they’ve worked well for a good amount of time and then completely crapped out when I left it off it’s charger for too long. In case you aren’t aware of this, leaving it off the charger with a dead battery will kill it quicker than anything. Fortunately a replacement can be shipped to my door for $42 Canadian off Amazon.ca. But either way if you make sure it always makes it back to the charging bay you shouldn’t have any issues, so if you have it on a schedule get in the habit of checking under the couches each time you get home from work!

Anyways, that’s it for now, I just wanted to give a quick update!

Tags: , ,

  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments
 Page 1 of 69  1  2  3  4  5 » ...  Last »