Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
404 error when playing from server

teja
Registered User
Quote
2015-10-21 15:10:39

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.


erik
Registered User
Quote
2015-10-21 21:33:35

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...


teja
Registered User
Quote
2015-10-23 19:01:50

Thank you Erik, that really helped me.


teja
Registered User
Quote
2015-10-23 20:19:06

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.


erik
Registered User
Quote
2015-10-24 07:52:40

Do you get an error message? Or maybe you could post an URL so we can try it ourselves.


teja
Registered User
Quote
2015-10-27 10:57:52

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


niko
Moderator
Quote
2015-10-28 11:39:47

Works fine for me in chrome, maybe you need to clear your cache in that browser?


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact