Back

Topic

[KB238]Configuring IIS for WebVue

Tags: IIS

14 years ago
By RM
Options
Print
Applies to:

WebVue versions supplied with PcVue version 11.2 and earlier.
WebVue versions supplied with PcVue version 12 onwards use different technology to which this article is not applicable.


Summary:

This article gives tips on how to configure IIS for use with WebVue. It covers these topics:

  • Inability to access WebVue.
  • Use of Web Services developed on another platform.

Details:

Inability to access WebVue

Details

For security reasons, some user’s prefer to manually configure the virtual folders used by WebVue (Rather than allowing PcVue to configure them as part of the WebVue setup). This can result in WebVue not working even on a PC where it has previously been OK. When the applet’s JAR files are requested (IE when you start WebVue), access to IIS is blocked with the message ‘Error HTTP401’ ,and the applet is not loaded.

Cause of the blockage

The problem arises because the default properties of a virtual folder created manually via the IIS Administration Console are not correct for WebVue.

virtual_folders_bad

Solution

In this example the virtual folders required for WebVue (classes, WebPropertyServer and MyWebProj) don’t have the usual icons. They prevent WebVue from working as they were not created in the same application. To solve this you have to change the properties as follows.

  1. Display the properties of each of the three folders in turn. (Right click and select Properties.)
  2. Select the Virtual Folder tab and in Application Settings, click the Create button.

virtual_directory_tab_bad

  1. The dialog will change.

virtual_directory_tab_good

  1. Close the dialog.

The icons representing the virtual folders will now have changed for the usual one as if they had been created by PcVue and WebVue should work.

virtual_folders_good

Note The screen shots were taken on XP. The icons used by other operating systems my differ.
MyWebProj is the name of the PcVue project and will change according to your project name.

Using a Web Services client developed elsewhere

Details

There can be a problem with using a Web Services client application developed on a different platform and/or operating conditions from those of the target site. It arises from the server’s attempts to retrieve information about the client that is trying to connect (such as IP address, station name etc.). If some of these items are not accessible an error occurs.

Solution

So that everything works between the station and the network, you have to modify the file WEBVUE.DAT that is in the \WEB folder of your project, as follows.

  1. Stop PcVue.
  2. In the file \Web\WEBVUE.DAT find a parameter called IPQueryLevel. By default it is set to 7. Replace the 7 with 0 (zero).
  3. Start PcVue.

Further information

  • Diagnostic tools and sources of information regarding error HTTP 401 can be found on the Microsoft Support site.
  • The IIS installation and configuration required for PcVue and WebVue are described in PcVue’s installation help.
  • Web Services, virtual directories, the Web Services Toolkit and support of WebVue are described in the Web Services book of the main PcVue help.

Created on: 26 Nov 2010 Last update: 26 Aug 2024