webplayer not working

Hi, I have a problem getting unity to work on the web.

The webplayer works fine on my my machine when running it by double clicking on it from windows, but when I run it from my localhost (windows), or from the server it doesn't work. The html loads but the unity doesn't work saying for both 'failed to download data file' and the same when I click on error details. The html page I'm using is the one unity generates.

rename the
“WebPlayer.unity3d” file to

and in the html code change
“unityObject.embedUnity(“unityPlayer”, “WebPlayer.unity3d”, “100%”, “100%”, params);” to
“unityObject.embedUnity(“unityPlayer”, “webplayer.unity3d”, “100%”, “100%”, params);”