It's not necessary, as the story is put together well enough where you can understand what's happening, but a lot of the references to the previous game will go over your head without it as they do mention it throughout, plus some characters from The Witcher 1 show up in The Witcher 2.