Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I couldn't play my .html file when i am trying to open from my server. I created a demo play in copper cube, it works fine in my laptop but when i copied the whole file to my server and tried to open .html files it says "Could not open file copperlichtdata/try3.ccbjs (status:404)". I don't know where i did wrong. Can some one help me regarding this issue. Thanks in advance. https://cbre.azurewebsites.net/webgl/try3/try3.html Here is the link that i copied to my server and tried to open. |
||||
|
You are running IIS as webserver on that host. That is one of the strangest webservers: It says that a file isn't there (= 404) when it doesn't know its file extension. This just happened to you, it doesn't know the .ccbjs file. To fix this error, use the IIS manager to add the file extension to the Multipurpose Internet Mail Exchange (MIME) map on a specific directory or Web site. See here for details: http://www.microsoft.com/technet... |
||||
|
Thank you Erik, that really helped me. |
||||
|
Hi, I can play it in Firefox but for some reason i can't play it in Chrome. Actually when i added file extension in IIS manager it doesn't chagne much. So i added this code "<mimeMap fileExtension=".ccbjs" mimeType="text/plain"/>" to my "web.config" in my server folder. After adding this code with that link i can run the file but only in firefox. But not in chrome. |
||||
|
Do you get an error message? Or maybe you could post an URL so we can try it ourselves. |
||||
|
Hi, Thanks for reply, It's the same error as I got before. 404 error, But the problem it's only getting in Chrome. Firefox and explorer are fine. I mean they can run without any problem. Here is the link https://cbre.azurewebsites.net/webgl/try2/try2.html |
||||
|
Works fine for me in chrome, maybe you need to clear your cache in that browser? |
|