Image resources work, but File resources don't

I have some images and files in my database (under Shared Resources > Images) that I can reference on the web using the following url format: http://server/path/dbname.nsf/test.gif.

When I delete an Image Resouce and recreate it as a File Resource I understand I should use the exact same URL to reference it, but when I try http://server/path/dbname.nsf/test.gif again, the browser displays “HTTP Web Server: Couldn’t find design note - test.gif”.

I’ve tried referencing .gif, .html, and .js File Resources and none work - but if I create them as .gif, .html, and .js Image Resources they DO work.

Any ideas??

Subject: *They certainly work for me and many others, so there must be something odd in configuration.

Subject: Image resources work, but File resources don’t

Are you sure that you need the same URL when opening a File Resource? I found in the designer’s help this format:

http://Host/Database/View/Document/$File/Filename?OpenElement

Subject: RE: Image resources work, but File resources don’t

That URL reference is for an attachment on a Notes document. I need to know the URL for a file added to the database design as a Shared File Resource.

I can always resort to adding these files as Image Resources (because that works), but it seems odd that R6 provides the new File Resource area, and they don’t seem to work.

Subject: RE: Image resources work, but File resources don’t

I’ve had absolutely no problem wit file resources since the Notes/Domino 6 betas. Images ought to remain as Image Resources (it makes them available to the Notes client as Image Resources, and ensures the correct MIME type on the web). Files other than images ought not be a problem – unless you are setting an incorrect MIME type, in which case the browser might refuse to load the resource.

Subject: RE: Image resources work, but File resources don’t

Well - I’ve added a standard GIF file as a File Resource and allowed Notes to define it’s own MIME type (“image/gif”) and the web browser still can’t access it.

My other files are all JS files that I’ve tried accessing with no MIME type defined (because Notes didn’t fill in the blanks), and I’ve also tried them defined as “text/javascript” - but still no success.

So IS there a setting/config option somewhere that may be causing the File Resources to be inaccessible?

Subject: *What version of Domino is your server running?

Subject: Yep - that was the problem = R6 db on R5 server

Excellent question Ben!!Our admins tell me the test server is still on R5! After getting access to the R6 test server it all works perfectly.

Thanks all for your repsonses - we got there in the end :o)