PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Version: 19.0

  • Installing IIS 7
  • Configuring the server for the CGI protocol (AWP)
  • Configuring the server for the WebDev sites
  • Configuring the server for the sites that use AWP pages (Active Web Pages)
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and QueriesWindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPadJavaPHPAjaxUser code (UMC)External languageHFSQLHFSQL Client/ServerStored proceduresHyper File 5.5OLE DBODBCNative Accesses

Configuring the IIS 7/7.5 server

Installing IIS 7
The IIS 7 server is provided with Windows Vista/7. To configure IIS 7 for WebDev, some elements of IIS 7 must be installed.

To install IIS 7:

  1. Open the control panel of Windows ("Start .. Control panel").
  2. Double-click "Programs and features".
  3. Click the "Enable/Disable the Windows features".
  4. In the window that is displayed, click "Internet services (IIS)" and select the following options:
For Windows Vista and 7, the options are presented as follows:

For Windows Vista:
For Windows 7:
Configuration of IIS for Windows Vista
Configuration of IIS for Windows 7

The following options must be checked:

Compatibility with the IIS metabase and with the IIS 6 configurationAllows IIS 7 to be configured by the metabase.

This option is mandatory.

Console for IIS managementAllows to configure IIS 7
This option is optional but it is required if you want to configure IIS 7 manually.
Console for FTP managementAllows to configure the FTP server
FTP serverRequired to perform a remote deployment.
HTTP loggingRequired to use WDStatistic
CGIUsed to display the dynamic WebDev pages

Mandatory option.

Static contentUsed to manage the static files (.CSS, images, ...).

Mandatory option.

Default documentUsed to manage the default page of the site
Basic authenticationRequired to perform a remote deployment.

Note: Caution: If you are using an anti-virus, you may have to disable it in order for the test of a WebDev site with IIS 7 to operate.

Configuring the server for the CGI protocol (AWP)
To configure the Web server:
  1. Open the Microsoft Internet service manager ("Start .. Run .. Inetmgr.exe" from the Windows desktop).
  2. Position at the root of the computer in the TreeView on the left and click the "ISAPI and CGI restrictions" button. Click "Add".
  3. Specify the path:
    • of WD190AWP.EXE found in the Programs\ENGINE\WINDOWS\AWP sub-directory. This path must contain no space character.
    • of WD190INSTAWP.EXE found in the Programs\ENGINE\WINDOWS\AWP sub-directory. This path must contain no space character.
  4. Check "Allow the path of the extension to be run".
  5. Validate.
  6. In the TreeView on the left, double-click "Web sites" and select "Default Web Site". Select "Add a virtual directory" from the popup menu of this option.
  7. In the screen that is displayed:
    • Specify the alias of the CGI protocol: wd190awp.
    • Select the directory of the CGI protocol (Programs\ENGINE\WINDOWS\AWP sub-directory of the setup directory of WebDev). This path must contain no space character. Click OK.
  8. Select WD190AWP in the treeview.
  9. Double-click the "Map handler" button.
  10. Select "Modify the handler permissions".
  11. In the window that is displayed, select "Read", "Script", "Execution".
  12. Validate.

Configuring the server for the WebDev sites
To configure the Web server:
  1. Open the Microsoft Internet service manager ("Start.. Run.. Inetmgr.exe" from the Windows desktop.
  2. In the TreeView on the left, double-click "Sites" and select "Default Web Site" (or select the default Web site where the dynamic WebDev sites must be installed). Select "Add a virtual directory" from the popup menu of this option.
  3. In the screen that is displayed:
    • Specify the alias of the directory containing the images of your project: <MyProject>_WEB. For example: MARKET_WEB.
    • Select the directory containing the images of your project: <ProjectName>_WEB. For example: C:\WWproject\MARKET\MARKET_WEB.
  4. Click OK.
  5. Select the name of your alias in the treeview on the left.
  6. Double-click the "Map handler" button.
  7. Select "Modify the handler permissions".
  8. In the window that is displayed, select "Read", "Script".
  9. Validate.

Configuring the server for the sites that use AWP pages (Active Web Pages)
To configure the server:
  1. Start the Microsoft Internet service manager.
  2. In the treeview on the left, double-click "Web sites" and select "Default Web Site" (or select the default Web site where the dynamic WebDev sites must be installed).
  3. Double-click the "Map handler" option.
  4. Add a script mapping:
    • the path of requests is: *.awp
    • specify the path of WD190AWP.EXE found in the Programs\ENGINE\WINDOWS\AWP sub-directory. This path must contain no space character.
    • enter any name.
  5. Validate and answer "No" to the message.
Minimum required version
  • Version 11
Comments
Information not correct
Where is Manager Mappings? It does not exist in IIS7 on Windows 2008
Ericus
Mar. 21 2014
Information not correct
Where is Manager Mappings? It does not exist in IIS7 on Windows 2008
Ericus
Mar. 21 2014
Information not correct
Where is Manager Mappings? It does not exist in IIS7 on Windows 2008
Ericus
Mar. 21 2014
Information does not seam to be correct?
I am using a Windows 7 64 bit (latest patches etc.) with WebDev 16 (also latest patches).

The information above does not match the selections available in IIS7 setup for Windows 7. Also we have been unable to locate "Manager mapping" etc. We have not been able to get a WebDev site work on IIS7, using virtual directory.
Ivar
Mar. 02 2012