09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11: Configuring Servers<br />

Managing Internet Information Services<br />

Configuring Custom Error Messages for a Web Site,<br />

Application, or Virtual Directory<br />

When an end user tries to connect to a Web site and a hypertext transfer protocol (HTTP) error occurs,<br />

the end user’s browser displays a default message describing the error. You can have your installation<br />

configure IIS so that it uses custom error messages instead of the default error messages by mapping the<br />

HTTP error codes to a file or a URL.<br />

Task To configure custom error messages for a Web site, application, or virtual directory:<br />

1. Create a file that contains your custom error message and add it to your installation.<br />

2. In the View List under Configure the Target System, click Internet Information Services.<br />

3. Select the Web site, application, or virtual directory for which you want to customize HTTP error<br />

messages. The settings for the Web site, application, or virtual directory are displayed on the right.<br />

4. In the Custom Errors setting, click the ellipsis button (...). The Custom Errors dialog box<br />

opens.<br />

5. Select the HTTP error code that you want to change and then click the Edit Properties button. The<br />

Error Mapping Properties dialog box opens.<br />

6. To map the error code to a file:<br />

a. In the Message Type list, select File.<br />

b. In the File box, type the path and file name that points to the custom error message in your<br />

installation, or click the browse button to locate the file.<br />

To map the error code to a URL:<br />

a. In the Message Type list, select URL.<br />

b. In the URL box, type the URL that points to your custom error message.<br />

Deploying Web Services on a Target Machine<br />

Deploying a Web service onto a target system requires copying the Web service–specific files to a<br />

particular location and assigning a virtual directory name for that folder so that the Web service can be<br />

accessed via HTTP.<br />

Tip: To learn how to add a virtual directory to your project, see Creating a Web Site and Adding an Application or a Virtual<br />

Directory.<br />

252 ISE-1800-UG01 <strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!