I had this happen to me yesterday on a site that required a login. (this was using asp.net) Since I was requesting something from IIS and the web.config wanted me to authenticate, it would return the login screen instead of the .wys file. Maybe this is what is happening to you?