Counter of Festivals

Ashok Blog for SQL Learners and Beginners and Experts

Tuesday, 16 April 2013

Installation and configuration of Microsoft IIS on Windows 7

Introduction

This document describes how to install and configure Microsoft IIS for WMS ASP on Windows 7 (or Windows Vista).

Description

Installation of Microsoft IIS

  • Go to [Start/Control Panel/Programs and Features]
     
  • Click in the left panel on "Turn Windows features on or off”
     
  • Expand “Internet Information Services” and enable these options:
    • Web Management Tools, IIS6 Management Compatibility, check “II6 Scripting tools”
    • Web Management Tools, IIS Management console
    • Web Management Tools, IIS Management Scripts and Tools
    • Web Management Tools, IIS Management Service
  • At 'World Wide Web Services/ Application Development Features', enable :
    • .NET Extensibility
    • ASP
    • ASP.NET
  • At 'World Wide Web Services/Common Http features', enable:
    • Static Content
         

  • Click “OK” and let Windows update. This may take some time.

Configuration of IIS

  • Go to Start/Control Panel/Administrative Tools and start “Internet Information Services (IIS) Manager”
     
  • In the left pane, expand server name, “Sites”, “Default web site”
      
  • Right-click on “Default web site” and choose “Add Application …” (not: virtual folder)

  • Alias = the name where the WMS site would be available, for instance "WMS"
  • Physical path = The path where the IIS files for WMS ASP are located, for example C:\E-WMS\IIS
    (note: these ASP files have to be extracted from the Exact.WMS.Web.zip file which is downloaded with the Globe product update)
  • Click 'OK'.
     
  • Click on your WMS virtual directory in the left pane and double-click “Authentication” in the options screen, make sure that 'Anonymous Authentication' is enabled. WMS does not use the other authentication methods.


      
  • Click on your WMS virtual directory in the left pane and now double-click "ASP.Net Globalization" in the upper part of the middle pane. In this screen you can determine what regional settings to apply on the 'hand terminal', by setting the options 'Culture' and 'IU Culture'. This is especially important for input of decimals and dates on the hand terminal.



    Set these options to "English (United States) (en-us)" if you want to use the 'dot' as decimal sign. Set these options to "Dutch (Netherlands) (nl-nl)" if you want use the 'comma' as decimal sign. Keep in mind that on a hand terminal the 'dot'
    is often a separate key on the keyboard. When entering dates on the hand terminal, the format YYYY-MM-DD (2010-12-31) will always work, regardless of regional settings.

    English Us = enter decimals as 5.5 on the mobile device
    Dutch (NL) = enter decimals as 5,5 on the mobile device
     

Application Pool

WMS ASP requires specific .NET Framework 3.5 to run properly. (shown as  '.NET Framework v2.0.50727'). In Windows 7, the .NET version is managed through the IIS 'Application pool'.
 

Create a new Application Pool

Start the IIS manager and expand the server name. Right click on "Application Pools" and select Add Application Pool. Name the Application Pool, for instance E-WMS. Set .NET to the highest version available (2.0.50727 for Framework 3.5 - Framework 4 is not supported yet) :

Press OK to save this new Application Pool.


Link Application Pool to E-WMS web site

When a specific Application Pool was configured for E-WMS, it still has to be linked to the E-WMS web site.
Start IIS manager, expand the server name, expand "Sites", expand "Default web site". Click on the E-WMS web site and choose Basic settings in the far right panel. Click on Select and choose the specific Application Pool which was created in the previous step:



Press OK to save this configuration.

No comments:

Post a Comment