404 error for manifest.json file

2,742 views
Skip to first unread message

Deepak

unread,
May 2, 2008, 7:41:32 PM5/2/08
to Google Gears
I am getting a 404 (file not found ) error for the manifest.json file
though the file is very much present

Deepak

unread,
May 2, 2008, 8:04:02 PM5/2/08
to Google Gears
I guess i found the solution myself on one of the posts. Renaming
the .json file to .txt solves it.
But I am not sure why the server behaves this way.

Dimitri Glazkov

unread,
May 2, 2008, 8:55:37 PM5/2/08
to google...@googlegroups.com
Deepak,

If you're using IIS server, you need to register file extension with
it in order to let it serve you the file. For (hopefully) security
reasons, it won't serve any extension that hasn't been registered,
returning a 404 error. Go to IIS server properties and add .json
extension with application/json content type. That should make things
work for ya.

:DG<

Deepak

unread,
May 3, 2008, 2:24:32 AM5/3/08
to Google Gears
Thank you very much. ( but i guess there is not much i could do about
it, because I have hosted my website on the university provided web-
space :) )

On May 2, 7:55 pm, "Dimitri Glazkov" <dimitri.glaz...@gmail.com>
wrote:
> Deepak,
>
> If you're using IIS server, you need to register file extension with
> it in order to let it serve you the file. For (hopefully) security
> reasons, it won't serve any extension that hasn't been registered,
> returning a 404 error. Go to IIS server properties and add .json
> extension with application/json content type. That should make things
> work for ya.
>
> :DG<
>

Scott Hess

unread,
May 6, 2008, 2:25:02 PM5/6/08
to google...@googlegroups.com
Gears isn't going to care if it's named .json or .txt, or even if it
has no extension at all.

-scott

Reply all
Reply to author
Forward
0 new messages