Server 2003, IIS 6

9 downloads 17809 Views 699KB Size Report
Manual Internet Information Services 6 (IIS 6) Setup ............................... .... your IT administrator or install it from http://go.microsoft.com/fwlink/?LinkID=186913. 2.
OrgPublisher 10 Silverlight Configuration For Server 2003, IIS 6

Server 2003, IIS 6 Table of Contents

Table of Contents 1.

OrgPublisher Silverlight Charts .............................................................. 3 Audience ............................................................................................ 3 System Requirements .......................................................................... 3 OrgPublisher Requirements for Publishing with Microsoft Silverlight ............ 3 OrgPublisher with Microsoft Silverlight Browser Specifications .................... 3

2.

IIS 6 Setup and Configuration ............................................................... 4 2.1 Confirming Windows Features .......................................................... 4 2.2 Verify the installation of .Net Framework 4 Extended and add the Publish To Location folder................................................................................ 6

3. Automated IIS 6 (ISAPI Enabled) Setup.................................................... 9 3.1 Executing the Setup Batch File......................................................... 9 4. Manual Internet Information Services 6 (IIS 6) Setup ............................... 11 4.1 Application Pool – Setup and Configuration ...................................... 11 4.2 Creating Applications .................................................................... 11 4.3 Adding Mime Type ........................................................................ 14 4.4 Add Application Extension Mapping ................................................. 15 4.5 Adding a Web Service Extension ..................................................... 17 4.6 Set File Permissions...................................................................... 20 5. Adding New Charts .............................................................................. 22 Using the IIS6_Add_Chart Batch File .................................................... 22 Trademarks ............................................................................................ 24

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11 - Version 2

2

Server 2003, IIS 6 OrgPublisher Silverlight Charts

1. OrgPublisher Silverlight Charts The purpose of this document is to provide detailed information on the OrgPublisher Microsoft® Silverlight® system requirements and Internet environmental settings necessary to deploy this feature and publish OrgPublisher Silverlight charts.

Audience The intended audience for this document is the OrgPublisher Chart Administrator with full Chart Administrator permissions. Note: Permissions to turn Windows features on or off are required.

System Requirements OrgPublisher Requirements for Publishing with Microsoft Silverlight • • • • • •

Pentium® PC compatible or greater A Microsoft® IIS 6 (ISAPI enabled) Windows® 2003, Windows® 2008, Windows® XP, Web server or Apache™ HTTP Server 2.0+ running Windows® operating system A virtual directory with execute permissions for scripts and executables on the Web server 60 MB available hard disk space 1 GB of RAM minimum, depending on chart size Microsoft® .NET® Framework 4 Extended

OrgPublisher with Microsoft Silverlight Browser Specifications • • • • •

Pentium® PC compatible or greater Microsoft Windows® XP, Windows® Vista™, or Windows® 7 operating system 512 MB of RAM 60 MB available hard disk space Microsoft® Silverlight® Client Version 4.0.60129.0

One of the following browsers: • Microsoft® Internet Explorer 7 and later for all versions of Windows® mentioned above • Google Chrome™ Version 12 • Mozilla™ Firefox® 5 • Netscape® 9 • Mac Safari® 5 The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

3

Server 2003, IIS 6 IIS 6 Setup and Configuration

2. IIS 6 Setup and Configuration You will be publishing your Silverlight charts to C:\inetpub\wwwroot, as this folder already has the required permissions to run “children” files.

2.1 Confirming Windows Features Before you can publish a Silverlight chart you must confirm that specific Windows features are turned on. 1. Access your Control Panel, and then select Add or Remove Programs.

Figure 1.

2. Click Add/Remove Windows Components on the left, and the Windows Components Wizard dialog opens.

Figure 2.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

4

Server 2003, IIS 6 IIS 6 Setup and Configuration

3. Double click Application Server, and the Application Server dialog opens.

Figure 3.

3. Double click Internet Information Services (IIS), and the Internet Information Services (IIS) dialog opens.

Figure 4.

4. Click Internet Information Services Manager, and the Internet Information Services Manger dialog opens.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

5

Server 2003, IIS 6 IIS 6 Setup and Configuration

Figure 5.

5. Select World Wide Web Service (you may have to scroll to the bottom of the list), and then click OK, and then OK again to return to the Windows Components Wizard. Click Next. 6. The Windows Components Wizard will run to configure the components. When it completes, click Finish. 7. You will return to the Add or Remove Programs dialog.

2.2 Verify the installation of .Net Framework 4 Extended and add the Publish To Location folder 1. Verify that you have Microsoft .NET Framework 4 Extended by opening the Control Panel and selecting Add or Remove Programs. Note: You may still have it open from the previous section.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

6

Server 2003, IIS 6 IIS 6 Setup and Configuration

Figure 6.

Note: If you do not have .NET Framework 4 Extended installed, check with your IT administrator or install it from http://go.microsoft.com/fwlink/?LinkID=186913. 2. After .NET 4 Framework Extended is installed, navigate to C:\inetpub\wwwroot and add a subfolder named OPSilverlight. NOTE: For this folder you must use the same names that are used for the Application Pool (Section 4.1 Step 4). This name is used for the creation of the Silverlight identity in Set File Permissions (Section 4.5 Step 5.)

Figure 7.

3. Follow the Publishing Wizard and publish a cross browser chart using Microsoft Silverlight. After publication, the following additional folders are added to the OPSilverlight folder.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

7

Server 2003, IIS 6 IIS 6 Setup and Configuration

Figure 8.

The following files are also placed in the folder, but only those marked are utilized in an IIS6 environment.

Figure 9.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

8

Server 2003, IIS 6 3. Automated IIS 6 (ISAPI Enabled) Setup

3. Automated IIS 6 (ISAPI Enabled) Setup Note: OrgPublisher 10 also provides the capability to perform all the steps necessary to complete the IIS 6 setup automatically by executing a batch file. You can also choose to process each step in the setup without using the automated Setup batch file. See Section 4 for the manual, individual steps for setting up IIS 6 for Silverlight. The first step to setting up a Silverlight chart is to publish it. To do that, use the Publishing Wizard and choose the Cross-browser option, and then choose Microsoft Silverlight, and complete the wizard.

3.1 Executing the Setup Batch File Notice that a file titled IIS6_Setup.bat was also added to the OPSilverlight folder in Step 3 above when you published your first Silverlight chart.

Figure 10.

1. This file is a Batch File Execution file and can be used to complete all of the following steps. The Chart Administrator can run this file to set up IIS 6. 2. Access C:\inetpub\wwwroot\OPSilverlight, and double-click IIS6_Setup.bat. An MS-DOS Command Prompt window opens.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

9

Server 2003, IIS 6 3. Automated IIS 6 (ISAPI Enabled) Setup

Figure 11.

3. Type the name of the chart you published and click Enter. When the setup is complete, the Command Prompt window closes. Note: Each Silverlight chart you publish with a new Publishing Definition requires that a handler mapping be made to it; specifically, a Module Mapping. See Section 4.4. To create each additional Module Mapping run the IIS6_Add_Chart.bat file located on Inetpub\wwwroot\OpSilverlight on your C:\drive. See the Graphic below.

Figure 12.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

10

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

4. Manual Internet Information Services 6 (IIS 6) Setup If you chose not to use the automated setup process above, the following steps can be followed to complete the IIS 6 setup.

4.1 Application Pool – Setup and Configuration To open Internet Information Services: 1. Click Start, Administrative Tools, Internet Information Services (IIS) Manager. 2. In the left pane, right click Applications Pool, New, and then Application Pool. 3. The Add New Application Pool dialog opens. 4. In the Application pool ID: box, type OPSilverlight and then click OK. The Application Pool is created.

4.2 Creating Applications To create an application, in the same window as above: 1. In the left pane, click Web Sites, Default Web Site. 2. Right click Silverlight, and then click Properties. The OrgPublisher Silverlight.

Figure 13.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

11

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

3. Click Create and accept the default application name that displays. 4. In the Execute permissions drop-down, select Scripts and Executables. 5. In the Application pool drop-down, select OPSilverlight. Your Applications setting should look like the following graphic:

Figure 14. 6. Click OK to close the window. 7. Expand the Silverlight folder and perform this same action for the Data and Service folders. See the following graphic.

Figure 15.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

12

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

After the applications are created your folder and file structure should look like the following graphic:

Figure 16.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

13

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

4.3 Adding Mime Type To add Mime Types: 1. Right-click the OPSilverlight folder and click Properties, and the OPSilverlight Properties dialog opens.

Figure 17. If the MIME type shown in the graphic above does not appear in your MIME Types list, click New and the following dialog opens:

Figure 18. 2. Type the following: Extension: .xap MIME type: application/x-silverlight-app 3. Click OK.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

14

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

4.4 Add Application Extension Mapping An Application Extension must be added for the Silverlight WCF Web service. 1. In the OPSilverlight folder, right-click the Service sub-folder, and the Service Properties dialog opens.

Figure 19. 2. Click Configuration, and the Application Configuration dialog opens.

Figure 20. The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

15

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

Check the Application extensions list to see if the .svc extension exists for the following path: C:\WINDOWS\Microsoft.Net\v4.0.30319\aspnet_isapi.dll 3. If it already exists in the Application extension list, then select it, click Edit, and add the following Limit to: verbs: GET,POST,DEBUG,HEAD. Click OK. 4. If it does not already exist, click Add and the Add/Edit Application Extension Mapping dialog opens.

Figure 21. 5. Click Browse, and browse to the following location and select the aspnet_isapi.dll: C:\WINDOWS\Microsoft.Net\v4.0.30319\aspnet_isapi.dll 6. Click OK. Note: This path might not be valid if Windows 2003 Server was installed in a different directory other that C:\Windows. If v4.0.30319 does not exist validate the .NET4 Extended Framework is installed. (See Section 2.2 in this document.) 7. In the Extension box, type .svc. 8. In the Verbs section, click the Limit to: button and type: GET,POST,DEBUG,HEAD 9. Check the Script engine checkbox, and then click OK.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

16

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

4.5 Adding a Web Service Extension A Web service extension must be added each chart published. 1. In IIS expand your local computer folder and click Web Service Extension.

Figure 22. The following dialog displays.

Figure 23. 2. Under Tasks, click Add a new Web service extension, and the New Web Service Extension dialog opens. The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

17

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

Figure 24. 3. In the Extension name: box, type the name of your chart. (In this example we published an OPSilverlight chart titled PacificEastern.) 4. Click Add, and the Add file dialog opens.

Figure 25. 5. Browse to the location of your chart DLL (in this example: C:\Inetpub\wwwroot\OPSilverlight\Data.

Figure 26. The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

18

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

6. Open the Data folder, select the chart you wish to publish, and then click Open.

Figure 27. The path is added to the Add file dialog.

Figure 28. 7. Click OK. The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

19

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

4.6 Set File Permissions To set file permissions: 1. Navigate to your OPSilverlight, or root, folder for your charts.

Figure 29. 2. Right-click OPSilverlight, and then select the Security tab.

Figure 30. The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

20

Server 2003, IIS 6 4. Manual Internet Information Services 6 (IIS 6) Setup

3. Under Group or user names, select NETWORK SERVICE, and then click Edit. 4. On the resulting dialog, click Add, and all permissions in the Allow column will automatically be checked.

Figure 31. Note: The Special permissions box will not be checked. 5. Click OK.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

21

Server 2003, IIS 6 5. Adding New Charts

5. Adding New Charts Now that you have set up IIS to process Silverlight charts, for each new Silverlight chart that you publish, you will have to add it to IIS. A batch file has been created to perform this action for you.

Using the IIS6_Add_Chart Batch File When you publish a new chart, the data files are created by the Publishing Wizard. To add the new chart to IIS: 1. Navigate to your OPSilverlight folder. In our example, it is: C:\Inetpub\wwwroot\OPSilverlight.

Figure 32. 2. Locate the IIS6_Add_Chart.bat file and double click it. 3. A DOS command prompt window opens.

Figure 33. 4. At the prompt enter the new chart name. In our example, it is called Silverlight Directory.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

22

Server 2003, IIS 6 5. Adding New Charts

Figure 34. 5. Press Enter. When the process is finished, the DOS Command Prompt window will automatically close.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

23

Server 2003, IIS 6 Trademarks

Trademarks Aquire 5215 N. O’Connor Blvd., Suite 300 Irving, Texas 75039 USA 1+ 214.574.5020 [email protected] http://www.aquire.com

Trademarks All trademarks are properties of their respective owners. OrgPublisher™, Unifi™, OrgHistory™, OrgPlan™, OrgPublisher Premier™, InSight™, and OrgPublisher™, SAP® are trademarks of Aquire in the United States and other countries. Microsoft®, Windows®, Windows 2003, Windows 2008, Windows XP, Windows Vista, Internet Explorer, and Silverlight are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries. Netscape® and the Netscape N and Ship's Wheel logos are registered trademarks of Netscape Communications Corporation in the U.S. and other countries. Oracle® is a registered trademark of Oracle Corporation. HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. SAP® and mySAP™ are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. JAWS® for Windows is a registered trademark of Freedom Scientific in the United States and other countries. Apache™ is a trademark of The Apache Software Foundation. Foxfire is a registered trademark of Mozilla, a global, nonprofit organization in the United States and other countries. Safari® is a registered trademark of Apple Inc. in the United States and other countries. Chrome is a registered trademark of Google Inc. in the United States and other countries.

The information contained in this document is confidential and proprietary to Aquire Solutions, Inc. This information may not be distributed or used for any purpose other than the evaluation of Aquire solutions, nor may it be disclosed to any party without the prior written consent from Aquire. Copyright © 2001 - 2011 Aquire. All Rights Reserved.

Revised 8/12/11, Version 2

24