tisdag 30 juni 2009

Upgrade EPiServer from 4.61 tol 4.62

Now it's time to try to upgrade our EPiServer site! First bringing it up to 4.62 and after that to CMS 5.

First step went on with just a tiny problem "Failed to register ASP.NET client scripts on this site" that was quickly solved after following these instructions. In short: temporary rename the v3.0 and v3.5 folders in C:\WINDOWS\Microsoft.NET\Framework.

Now stepping on to the next greater level! Move to EPiServer CMS 5!

måndag 15 juni 2009

Upgrade Ubuntu distribution without graphical interface

I've just installed a base Ubuntu machine now, JEOS, really great thing when setting up a system in VMware. But anyway, what I thought of right now is how simple it was to update to next dist! I installed jeos-8.04-1 which was a Hardy dist which is a bit old. So I made a try to upgrade it. So here is a short list of the steps I took. (As root)

  1. apt-get update && apt-get upgrade
  2. apt-get install joe (just to have a nice editor)
  3. Open and edit /etc/apt/sources.list
  4. Replace all hardy with intrepid everywhere
  5. apt-get update && apt-get dist-upgrade
  6. reboot
Then do the same thing if you want to upgrade to jaunty! Parhaps it works jumping right into jaunty, but I took it step by step.

Check this if you have a graphical interface:
how-to-upgrade-ubuntu-710-to-ubuntu-804

onsdag 10 juni 2009

Howto make an if statement in a job step in MSSQL

I ran into a little problem where I wanted to check a flag in a table to see if the sql job should be run or not.

I'm not sure if it's the right way or the nicest way to do this, but it works.

In the first step do:
if (SELECT count(*) FROM update WHERE ) = 0
begin
RAISERROR( 'Not ready to update.' , 16, 1 )
end

Set the On success to Goto next step (as default) to proceed with following job steps. You could set the On failure to Quit with success to avoid the errors in the history since it's an expected error that is raised.