Sunday, 30 November 2008

Spotify.com

Every now and then you come across something that totally rocks. Spotify is one of those things. If you have not seen it then go check it out!!! Its like itunes but you have an almost infinite record box/ full ipod!! Just type in who you want to listen to and up pops their entire discography. Type the song name and get it - stright away no messing. Click on the bands name and find al the albums they have appeared on.

Want to listen - click play. Easy as that. It so slick and smooth.

Want to setup play lists for parties etc.. no problems.

Want to listen to some random stuff no probs.

Want to listen to the radio from a certain era - its there.

And how much does it cost? Nada... bugger all! Its FREE gratis!! With the free version you do have adverts every now and then but I've had one ad in about 3 hours. This may increase as its gets more popular but you have the option to buy a premium membership for £10 per month for ad free tunage.

All in all its absolutely mint! Its quick and responsive and you can skip through the songs like they were on your hard drive.

10/10 from me! well done.

There are a few bands such as metallica that wont sign up to it but no worries - you can listen to them other ways - or buy their stuff but to be honest there ain't been many songs I've not been able to find up to now.

Monday, 20 October 2008

KB957095 Hotfix Breaks DFS access from Vista

I recently installed the KB957095 Hotfix on my Vista Ultimate and discovered it stopped me getting access to shares created using DFS over the network. On removing it i got my access back so at the moment i will stay with the vulnerabilty and have access to my data! Cheers Microsoft.

I believe the hotifx is related to SMB.

Thursday, 11 September 2008

Versioning Workflows

A while ago i had a project where i used Windows Workflow Foundation. Fantastic tool but i hit several issues with it that put me off using it since. One of these issues was the complexities of hosting in iis and the other was the versioning of workflows. At the time i could not find any information to help me with this so did what i though was best at the time.

Today i noticed a blog post which covers the perfect solution to workflow versioning. You can read it here over at the problem solvers blog.



Here was my solution to compare - which wasnt ideal but sufficed at the time.

What i thought i needed to do was create a new copy of the workflow (at design time) and deploy both versions. This was fine but the next issue i had was how do i copy a workflow and make some changes. Heindsight says this was a bad move but it didnt jump out at me at first. Anyway.. I ended up copying the workflow xaml xml and changing the xaml to a new type - V2. And this actually worked!

Now i had old and new versions of the workflow and could make my changes and deploy.

The next issue i came across was code that was hooked into the workflow, i.e. any services/classes that made use of the workflow. You had to change the code to tell it what version of workflow to create, that was easy but then if you had referred to the workflow at any point in your classes, and this had been removed/changed then it would obviously break.

Thursday, 4 September 2008

Getting Virtual Server 2005 R2 to work on Vista

Had a bit of a nitemare getting this to work properly but eventually got there.

First make sure you go into the Enable Windows features and switch on the following:

Under Web Management Tools enable:
IIS Management Console

Under IIS 6 Management Compatibility enable:
IIS Metabase and IIS6 configuration compatibility

Under Application Development Features enable:
CGI

Under Common Http Features enable:
Default Document
Directory Browsing
HTTP Errors
Static Content

Under Health and Diagnostics enable:
HTTP Logging
Request Monitor

Under Performance Features enable:
Static Content Compression

Under Security enable:
Windows Authentication

Then install Virtual Server.

Once installed open up the administration website in IE using the following link:

http://yourmachinename.yourdomain/VirtualServer/VSWebApp.exe?view=1

ALSO ENSURE YOU RUN IE as Administrator!!!!! This is a biggy and is what stumped me for ages! If you dont you will get the following error message:

Could not connect to Virtual Server. Access was denied.
You can specify an alternate Virtual Server below.

Also note that when you signed in you will have to login the following way:

username@domain

or domain\username

If you try and login with just username it will fail and give you the machinename.domain/username in the popup. This will still not work until you remove the machine name part.

Hope this helps you out.