.htaccess only works with the Apache server only; There is an alternative much like Apaches Mod Rewrite for IIS but I can't remember the name of it just now - read over the articles here at Sitepoint on Mod Rewrite and Search Engine Friendly URLs?

There is a link in one of those articles if I remember... Either that, or move to Apache, which if you can, is the better option anyways.