|
Installation
> Configuring IIS
Configuring IIS
When a spreadsheet is streamed directly to the client (rather than saved on the Web server's
hard disk), an "Open or Save" dialog box will open in the browser. With Internet Explorer,
it is possible to prevent the display of this dialog box, and open the spreadsheet automatically
in the browser window. To do this, you will need to:
- Associate Excel's xls extension with asp.dll when configuring your virtual
directory:
- Open the Internet Services Manager.
- Right click the virtual directory containing your ExcelWriter scripts,
and select Properties.
- Click Configuration. If the Configuration button is disabled, first click Create.
- Select the App Mappings tab.
- Click Add.
- Browse to select asp.dll, typically in c:\winnt\system32\inetsrv.
- Enter xls in the Extension text box.
- Select "All Verbs."
- Check "Script Engine."
- Do not check "Check that file exists."
- Click Ok.
- Rename your ExcelWriter scripts with the extension .xls. For example, at the DOS command
prompt, enter, "ren xlgen.asp xlgen.xls."
If you associate the xls extension with asp.dll within the settings of a virtual
directory, do not save standard Excel spreadsheets in this directory. If you do, ASP will
attempt to interpret these Excel spreadsheets as ASP script and fail.
| Browsers other than Internet Explorer cannot embed an Excel file in the
browser window. When the generated spreadsheet is streamed to a browser other than IE,
the user will always be prompted to open or save the file. If the user chooses to open
the file, it will open in Microsoft Excel or another spreadsheet application. |

Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.
|