On Windows Server and IIS6, when requesting Office doc, xls, and ppt with:
the files do not open, but an Adobe pdf will open. I get error "cannot download [file]...IE was not able to access this website".
This same code works fine with Localhost on WinXP and IIS5. Could there be a setting in IIS6 that's refusing to serve Office files in NEW windows?
On the IIS6 box, I tested this HTML and it actually works and the file is served:
unfortunately I can't use that HTML in the real solution, I'm forced to call a script that uses window.open() because I'm using 3rd-party dhtml nav menus.
Thanks in advance.
Code:
<input type=button onClick= "window.open('[URL unfurl="true"]http://domain.com/files/somefile.doc',[/URL] '_blank');">
the files do not open, but an Adobe pdf will open. I get error "cannot download [file]...IE was not able to access this website".
This same code works fine with Localhost on WinXP and IIS5. Could there be a setting in IIS6 that's refusing to serve Office files in NEW windows?
On the IIS6 box, I tested this HTML and it actually works and the file is served:
Code:
<a href='[URL unfurl="true"]http://domain.com/files/somefile.doc'[/URL] target = '_blank'>download file</a>
unfortunately I can't use that HTML in the real solution, I'm forced to call a script that uses window.open() because I'm using 3rd-party dhtml nav menus.
Thanks in advance.