If you're on an NT/Win2K box and are trying to do this from a CGI, you might have a permission problem. I'm not anywhere near an NT box right now, but recall that I had to do something regarding changing the user that IIS ran under, or that user's permission, to make this work.