Tutorial: Setting Up a MapXtreme WFS Server

Similar documents
Setting Up a MapXtreme 2004 WFS Server

inforouter V7 implementation Guide.

InfoRouter LDAP Authentication Web Service InfoRouter Version 7.5 Active Innovations, Inc. Copyright

inforouter V8.0 Implementation Guide Active Innovations, Inc. A Document Management Company

Installation Guide. Last Revision: Oct 03, Page 1-

Inmagic Genie 2.10 Installation Notes, Revision 3, for New and Upgrade Installations

Inmagic Content Server Standard Version 9.00 Installation Notes for New and Upgrade Installations

Inmagic Content Server Enterprise Inmagic Content Server Standard Version 1.3 Installation Notes

Create WebDAV virtual folder in IIS pointing to AxCMSWebDav directory of your CMS installation. Do not create WebDAV virtual

Iron Speed Designer Installation Guide

Mirroring - Configuration and Operation

Checkbox Quick Start Guide

Inmagic Content Server Workgroup Version 9.00 Installation Notes for New and Upgrade Installations

x10data Application Platform v7.1 Installation Guide

WinDSX New Installations

BLUEPRINT TEAM REPOSITORY. For Requirements Center & Requirements Center Test Definition

Application Server The following programs must be preinstalled on the application server before installing BizView:

BusinessObjects OLAP Intelligence XI

Inmagic DB/Text WebPublisher PRO Installation and Upgrade Notes

MassTransit Server Installation Guide for Windows

Install and Upgrade Guide. Front Office v7.2

Mascot Insight Installation and setup guide

How to configure DBxtra to use Internet Information Services on Windows Server 2012

EntraPass (W10) Installation Guide Kantech-OnBoard systems

Migrate From Version 2.2 to Version 3.1 Guide

Q-flow 3.0: Installation and Configuration

Setting Up EPiServer for Demo

WebAD IISADMPWD. Replacement Tool v2.5. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD

ROCK-POND REPORTING 2.1

BusinessObjects Enterprise XI Release 2

FieldView. Management Suite

5.1 Configuring Authentication, Authorization, and Impersonation. 5.2 Configuring Projects, Solutions, and Reference Assemblies

UC for Enterprise (UCE) NEC Centralized Authentication Service (NEC CAS)

RED IM Integration with Bomgar Privileged Access

Installation Guide. May vovici.com. Vovici Enterprise Version 6.1. Feedback that drives vision.

Enterprise Vault.cloud CloudLink Google Account Synchronization Guide. CloudLink to 4.0.3

Installation Manual v1.0.2

TIBCO Spotfire Automation Services Installation and Configuration

Workspace Administrator Help File

Click Studios. Passwordstate. Remote Session Launcher. Installation Instructions

Version 13 Inmagic DB/Text for SQL Installation and Upgrade Instructions [11/02/11]

HIS document 4 Configuring web services for an observations database (version 1.0)

BARR/Web Interface Installation Instructions

Content Mirroring Configuration

HR-Lite Database & Web Service Setup Guide

SDL Content Porter 2013 User Manual. Content Management Technologies Division of SDL

Installing and Configuring Worldox/Web Mobile

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Microsoft IIS version 6 Integration

Windows Authentication for Velocity Web service Client

Administration Guide. 05 Apr TM and copyright Imagicle spa

IBM Atlas Policy Distribution Administrators Guide: IER Connector. for IBM Atlas Suite v6

Installing Vovici EFM Community Version Fall 2007 (3.00) on Windows 2003 Server. November For support, contact Vovici Technical Support.

NeuralStar Installation Guide

Installing Vovici EFM Community Version 2.20 on Windows 2003 Server. September For support, contact Vovici Technical Support.

EXERCISE 3: PUBLISHING AN ODM DATABASE WITH WATERONEFLOW

Setting Up Essentials

Configuring RentalPoint Web Services

Secure web proxy resistant to probing attacks

AS Series Media Processor: Apple Segmenter HTTP Handler Setup

How to Get Your Site Online

Version 1.0 Last updated: August 11, 2017 Author: Albert Wang & Mike Hull

Installing Vovici EFM Community Version 2.20 on Windows 2003 Server. September For support, contact Vovici Technical Support.

Installation and Upgrade Guide. Front Office v9.0

HORTICOPIA Professional

Auto Start Analyzer after AppPool Recycle by IIS

NBC-IG Installation Guide. Version 7.2

Business Insights Dashboard

Distributed Processing

Integrating SAP Portal Content into Microsoft SharePoint Portal Server

How to Create, Package, and Deploy a MapXtreme 2004 Application

Setting Up Scan to CIFS on MC35X/MC36X/MC56X/ES546XMFP

Using ESRI data in Autodesk ISD Products

Inmagic DB/Text WebPublisher PRO 8.00 Installation and Upgrade Notes

IQSweb Installation Instructions Version 5.0

Air Gap AntiVirus Guide Version 8.5 Update 2

DiscoveryGate Installation and Configuration

Installation Guide. Mobile Print for Business version 1.0. July 2014 Issue 1.0

SAML v1.1 for.net Developer Guide

CTC Accounts Active Directory Synchronizer User Guide

Coveo Platform 6.5. Microsoft SharePoint Connector Guide

Working with SQL SERVER EXPRESS

Configuring RentalPoint Web Services

ECM-VNA Convergence Connector

Sitecore Security Hardening Guide

WinSCP. Author A.Kishore/Sachin

SharePoint 3.0 / MOSS 2007 Configuration Guide

Scribe Insight Installation Guide. Version August 10, 2011

Microsoft OWA 2010 IIS Integration

CAPSYS Technologies, LLC

Project management integrated into Outlook

Password Reset Server Installation

Bomgar Vault Server Installation Guide

How does it look like?

Table of Contents 1 Cisco AnyConnect...1

APP NOTES Onsight Rugged Smart Camera Wireless Network Configuration

Sage 300. Sage CRM 2018 Integration Guide. October 2017

BEAAquaLogic. Interaction Identity Service - Active Directory. Installation and Upgrade Guide

Mitel MiContact Center Enterprise WEB APPLICATIONS CONFIGURATION GUIDE. Release 9.2

Installing SurveySolutions/EFM 2.10 on Windows 2003 Server

Transcription:

Tutorial: Setting Up a MapXtreme WFS Server 1 This tutorial describes how to set up a WFS server for use with your own MapXtreme-created WFS clients or by an application that already has WFS client capabilities. Refer to the Open Geospatial Consortium (OGC) specifications for more details about the requirements of a WFS or a service compatible client (https://opengeospatial.org). In this tutorial Introduction........................................ 6 Prerequisites....................................... 6 Setting up the WFS Service Under IIS.................. 6 Adding Tables to a WFS Server....................... 16 Troubleshooting your WFS Setup..................... 17 Accessing Network Drives.......................... 19

Introduction A Web Feature Service provides geospatial and non-geospatial data encoded in Geography Markup Language (GML2) to specially designed software clients. There are two modes in which WFS can work. Basic mode is a read-only mode. Transaction mode allows you to add, edit, and delete features from the resulting GML. Currently, MapXtreme 2005 provides Basic mode (read-only) access to served data. Please refer to the OGC WFS specification (https://opengeospatial.org) for more information and specifics about developing your own client. Prerequisites As with most modern software and particularly server-based software, these systems rely on a certain number of operating system components to be in place before they will work. For MapXtreme 2005 to run as a Web Feature Service, you need the following installed: MapXtreme 2005 Internet Information Services (IIS) ASP.NET v1.1.4322 Note: The name of your Windows directory varies depending on the version of the operating system upon which you are running. For the remainder of this document we will refer to this directory as C:\Windows. If you have the latest version of MapXtreme 2005 and installed it in the manner described in the installation instructions, the necessary components of ASP.NET is already installed and configured properly on your computer. Setting up the WFS Service Under IIS MapXtreme 2005 ships with a set of configuration files that allow you to set up a WFS server with very few modifications. This section describes how to use these files to get a WFS server up and running quickly. Before using the method described in this document we strongly recommend that you read the WMS and WFS chapter in the MapXtreme 2005 Developer Guide. We also assume you have a working knowledge of WFS and web services in general. 2006 MapInfo Corporation. All rights reserved. 6 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

A high level description of the required steps to set up a Web Feature Service is as follows: 1. Verify the MapInfo.WFS.Server software version number. 2. Create the folder where the configuration files will reside. 3. Copy the sample configuration files from your MapXtreme 2005 CD. 4. Modify the configuration files to match your environment. 5. Make this folder available as a Web Share directory. 6. In IIS, change the security properties of the new virtual directory. 7. Test the configuration. 8. Request a map feature. Each of these steps is described in detail in the next section. Step 1: Verify the Software Version The version number of the MapInfo software needs to be verified in order to include the correct information in the Web.config configuration file. To check the version number, follow this procedure: 1. Select RUN from the Windows START menu and enter the following command: %windir%\assembly The ASSEMBLY directory is displayed. This window lists all the.net global assemblies you have installed. 2. Locate the MapInfo.Wfs.Server and MapInfo.CoreEngine assemblies on the list and note the numbers in the Version and Public Key Token columns. These numbers must be correctly specified in the Web.config file which we will soon be examining. In the example below, the Version is 4.0.0.362. The Public Key Token is 5539cc02a8223bb3 for MapInfo.Wfs.Server and 93e298a0f6b95eb1 for MapInfo.CoreEngine. Step 2: Create a Directory to Hold The Configuration Files Next create a directory on the server where you intend to store the WFS configuration files. The actual name does not matter. For this tutorial we ll use c:\wfs as that is what is already specified in the sample configuration files. 2006 MapInfo Corporation. All rights reserved. 7 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Step 3: Copy the Sample Configuration Files From Your MapXtreme 2005 CD Copy the two sample WFS configuration files from the MapXtreme 2005 CD. The files are located in the folder WFS Configuration Files and are called Web.config and WFSSample.xml. These files are already configured to work using the sample data provided with MapXtreme 2005. Step 4: Modify the Configuration Files to Match Your Environment As shown above, there are two configuration files used in setting up your WFS server. The file Web.config requires less modification as its purpose is to define how the ASP process is handled. One of these functions is to reference the WFSSample.xml file. The WFSSample.xml file defines the data sources and tables you wish to serve. Open the Web.config file in any text editor. You need to modify this file in three places. The first is where the Web.config file points to the second configuration file. In the sample file provided with MapXtreme 2005, this line reads as: <appsettings> <!-- Use this setting to specify the location of the WFS configuration file --> <add key="configfile" value="c:\wfs\wfssample.xml" /> Since we are using the default implementation, we only need to verify that this path matches our setup. Second, modify the values (shown in bold below) that specifies the software version and Public Key Tokens we verified in Step 1: Verify the Software Version for the MapInfo.Wfs.Server and MapInfo.CoreEngine assemblies. <system.web> <httphandlers> <add verb="get,post" path="*.ashx" type="mapinfo.wfs.server.httphandler, MapInfo.Wfs.Server,Version=4.0.0.352, Culture=neutral,PublicKeyToken=5539cc02a8223bb3"/> </httphandlers> <httpmodules> <add type="mapinfo.engine.websessionactivator, MapInfo.CoreEngine, Version=4.0.0.352, Culture=neutral, PublicKeyToken=93e298a0f6b95eb1" name="websessionactivator" /> </httpmodules> Save the changes to this file, then open the second configuration file (WFSSample.xml) in your editor. The first lines to modify are the values for the <mxp-wfs:name>, <mxp-wfs:title>, and <mxpwfs:abstract> elements defined for the WFS server. 2006 MapInfo Corporation. All rights reserved. 8 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Next, change the location of your WFS Virtual Directory (more on this below). For now, we will use the web URL http://localhost/wfs/getfeature.ashx to match the folder name you created earlier. Later this should be changed to a proper URL definition as required by your Web Administrator. We are using the localhost to test our server configuration only. The lines to change are bolded in the code snippet below. <?xml version="1.0" encoding="utf-8"?> <!-- For more information about this configuration file, please refer to the Developer's Guide. --> <WfsServer xmlns:mxp-wfs="http://www.mapinfo.com/mxp/wfs" xmlns:xlink="http:// www.w3.org/1999/xlink" xmlns="http://www.mapinfo.com/mxp/wfs" xmlns:mxp="http:// www.mapinfo.com/mxp" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" Version="MXP_WFS_Configuration_1_0" xsi:schemalocation="http://www.mapinfo.com/ mxp/wfs MXP_WFS_Configuration_1_0.xsd"> <mxp-wfs:namespaceuri prefix="miwfs">http://www.mapinfo.com/wfs< /mxp-wfs:namespaceuri> <mxp-wfs:service> <mxp-wfs:name>sample WFS Server</mxp-wfs:Name> <mxp-wfs:title>sample WFS Server</mxp-wfs:Title> <!-- The following is the URL of the WFS server --> <mxp-wfs:onlineresource>http://localhost/wfs/getfeature.ashx </mxp-wfs:onlineresource> </mxp-wfs:service> Finally register the tables that the WFS serves. The value for the <mxp:datasourcedefinition> id must match the value for <mxp-wfs:name>. Specify the path to your data files. If you have the default installation of MapXtreme 2005, the.tab files we will use for our test server are located in C:\Program Files\MapInfo\MapXtreme\6.x\Samples\Data. If you are connecting to a RDBMS, you must specify <ConnectionSet> and <ConnectionMember> elements. Note the following tables that are specified within the <mxp:wfs:tableset>. Bold highlights indicate the minimum items that you need to edit or verify as correct. <mxp-wfs:tableset> <mxp-wfs:table> <mxp-wfs:name>usa</mxp-wfs:name> <mxp-wfs:title>title for usa</mxp-wfs:title> 2006 MapInfo Corporation. All rights reserved. 9 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

<mxp-wfs:abstract>abstract for USA</mxp-wfs:Abstract> <mxp-wfs:keywords>keywords for USA</mxp-wfs:Keywords> <mxp:datasourcedefinitionset> <mxp:tabfiledatasourcedefinition id="usa"> <mxp:datasourcename>usa</mxp:datasourcename> <mxp:filename>c:\program Files\MapInfo\MapXtreme\6.x\Samples\ Data\USA.TAB</mxp:FileName> </mxp:tabfiledatasourcedefinition > </mxp:datasourcedefinitionset> </mxp-wfs:table> <mxp-wfs:table> <mxp-wfs:name>us_hiway</mxp-wfs:name> <mxp-wfs:title>title for US_HIWAY</mxp-wfs:Title> <mxp-wfs:abstract>abstract for US_HIWAY</mxp-wfs:Abstract> <mxp-wfs:keywords>keywords for US_HIWAY</mxp-wfs:Keywords> <mxp:datasourcedefinitionset> <mxp:tabfiledatasourcedefinition id="us_hiway"> <mxp:datasourcename>us_hiway</mxp:datasourcename> <mxp:filename>c:\program Files\MapInfo\MapXtreme\6.x\Samples\ Data\US_HIWAY.TAB</mxp:FileName> </mxp:tabfiledatasourcedefinition > </mxp:datasourcedefinitionset> </mxp-wfs:table> <mxp-wfs:table> <mxp-wfs:name>us_county</mxp-wfs:name> <mxp-wfs:title>title for US_COUNTY</mxp-wfs:Title> <mxp-wfs:abstract>abstract for US_COUNTY</mxp-wfs:Abstract> <mxp-wfs:keywords>keywords for US_COUNTY</mxp-wfs:Keywords> <mxp:datasourcedefinitionset> <mxp:tabfiledatasourcedefinition id="us_cnty"> <mxp:datasourcename>us_county</mxp:datasourcename> <mxp:filename>c:\program Files\MapInfo\MapXtreme\6.x\Samples\ Data\US_CNTY.TAB</mxp:FileName> </mxp:tabfiledatasourcedefinition > </mxp:datasourcedefinitionset> </mxp-wfs:table> <mxp-wfs:table> <mxp-wfs:name>us_caps</mxp-wfs:name> <mxp-wfs:title>title for US_CAPS</mxp-wfs:Title> <mxp-wfs:abstract>abstract for US_CAPS</mxp-wfs:Abstract> <mxp-wfs:keywords>keywords for US_CAPS</mxp-wfs:Keywords> <mxp:datasourcedefinitionset> <mxp:tabfiledatasourcedefinition id="us_caps"> <mxp:datasourcename>us_caps</mxp:datasourcename> <mxp:filename>c:\program Files\MapInfo\MapXtreme\6.x\Samples\ Data\USA_CAPS.TAB</mxp:FileName> </mxp:tabfiledatasourcedefinition > </mxp:datasourcedefinitionset> </mxp-wfs:table> </mxp-wfs:tableset> Once you have made all these changes, save your work and close both files. 2006 MapInfo Corporation. All rights reserved. 10 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Step 5: Make this Folder Available as a Web Share Directory Tutorial: Setting Up a MapXtreme WFS Server Next you must make the folder in which you have the configuration files available for use from the web. Do this by right-clicking on the folder name and selecting SHARING AND SECURITY. On the Web Sharing tab, select the radio button for SHARE THIS FOLDER. The EDIT ALIAS dialog box is displayed. Here you can change the Alias name if you choose, then click OK to close the dialog box. The WEB SHARING tab of the PROPERTIES dialog box is updated to show the Alias name to be shared. Click OK to close the PROPERTIES dialog box. 2006 MapInfo Corporation. All rights reserved. 11 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Step 6: Change the IIS Security Properties Tutorial: Setting Up a MapXtreme WFS Server The last step of the setup is to set the security properties of your new WFS virtual directory. This task is done from the IIS administration; you change the security properties of your WFS virtual directory. Setting the folder to Anonymous means you do not have to worry about user name and passwords. Start Internet Information Services (IIS) from the Windows Start menu (START > CONTROL PANEL > ADMINISTRATIVE TOOLS > INTERNET INFORMATION SERVICES). Expand the Default Web Site item so you can see the WFS virtual directory you just created. Rightclick on the WFS directory and click the PROPERTIES menu item. 2006 MapInfo Corporation. All rights reserved. 12 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Next select the DIRECTORY SECURITY tab then click the EDIT button at the top right. In the AUTHENTICATION METHOD dialog box, select the ANONYMOUS ACCESS check box to allow WFS service users to skip the username/password process. 2006 MapInfo Corporation. All rights reserved. 13 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Step 7: Test the Configuration Now that everything is enabled and configured properly, let s do a simple query using Internet Explorer as the client. 1. Launch your browser and type in the following URL: http://localhost/wfs/ GetFeature.ashx?REQUEST=GetCapabilities&SERVICE=WFS&VERSION=1.0.0 If your WFS setup is working you should see a screen similar to the following: This demonstrates that the WFS server is configured properly and running well. If you do not see the proper result, double check the steps above and retry it. Then refer to Troubleshooting your WFS Setup on page 17 for a more detailed list of things to check. Step 8: Request Map Features Now that you know the server is responding to your request, use the following URL to request a map feature from the WFS server. In the web browser, type the following URL to request a map feature. http://localhost/wfs/ GetFeature.ashx?REQUEST=GetFeature&SERVICE=WFS&VERSION=1.0.0&Typename=miwfs:USA& propertyname=miwfs:state_name 2006 MapInfo Corporation. All rights reserved. 14 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

In the web browser, features from the USA table are returned as a FeatureCollection. Notice in the URL that we requested only the State_Name property for the USA table. If we had not specified any property name, all properties in the table would be returned. Notice, too, that the boundedby element returns inapplicable. This property wasn t specifically called out like State_Name, so it did not return the coordinates. <gml:boundedby> <gml:null>inapplicable</gml:null> </gml:boundedby> To determine the properties of a feature, the client must carry out a DescribeFeatureType request. The DescribeFeatureType operation will generate a GML application schema defining the schema of the feature type. The client can then select the properties to be fetched. For more information on DescribeFeatureType, see OpenGIS Web Feature Service Implementation Specification at https:// opengeospatial.org. 2006 MapInfo Corporation. All rights reserved. 15 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Adding Tables to a WFS Server Tutorial: Setting Up a MapXtreme WFS Server This section describes how to add tables to the WFS Server. Note that tables in WFS are not hierarchical like layers in a WMS Server. You can add tables to your WFS configuration file in any order. The following is a complete block for the table USA taken from the WFSSample.xml. To add tables to the file, it s easiest to copy and paste an existing block, then modify it. <mxp-wfs:table> <mxp-wfs:name>usa</mxp-wfs:name> <mxp-wfs:title>title for usa</mxp-wfs:title> <mxp-wfs:abstract>abstract for USA</mxp-wfs:Abstract> <mxp-wfs:keywords>keywords for USA</mxp-wfs:Keywords> <mxp:datasourcedefinitionset> <mxp:tabfiledatasourcedefinition id="usa"> <mxp:datasourcename>usa</mxp:datasourcename> <mxp:filename>c:\program Files\MapInfo\MapXtreme\6.5\Samples\Data\USA.TAB</mxp:FileName> </mxp:tabfiledatasourcedefinition > </mxp:datasourcedefinitionset> </mxp-wfs:table> To add the world.tab to the server, modify the Name, Title, Abstract and Keywords appropriately. For the TABFileDataSourceDefinition id =, you must specify the same string that you specified in the Name element. Finally, provide a path to the data source, in our case, the default sample data location C:\Program Files\MapInfo\MapXtreme\6.5\Samples\Data\world.TAB. Provide the following URL in your web browser. http://localhost/wfs/ GetFeature.ashx?REQUEST=GetFeature&SERVICE=WFS&VERSION=1.0.0&Typename=miwfs:world A list of features (countries of the world) displays. 2006 MapInfo Corporation. All rights reserved. 16 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Troubleshooting your WFS Setup Tutorial: Setting Up a MapXtreme WFS Server Fixing Your Setup As with all web service style applications, configuration files are critical. One small spelling mistake can cause the entire system to stop working. A typical error message that may occur if you failed to connect to the WFS server is shown below. This error message tells you there is an error on the WFS server but does not explain what is wrong or what to do next. To get more detailed information about the error, connect to the service from Internet Explorer directly. This method allows you to see more details about the error. By connecting to the service using Internet Explorer directly, you can see that there is something wrong with the WFSSample.xml file at line 46. Now you can navigate to that spot to begin troubleshooting. Every time you adjust the web.config or the WFS Config.xml files you need to restart the IIS for the changes to take effect. Also if you have either of the files open in an editor while the server is trying to access the file, you ll get an error. Note: Due to a bug in Windows, you also need to kill the aspnet_wp.exe (or w3wp.exe for Windows 2003 Server) process each time you need to retry the web service. 2006 MapInfo Corporation. All rights reserved. 17 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

The process to fix an error is as follows: 1. Edit a configuration file as necessary (either web.config or WFSSample.xml). 2. Restart IIS and the aspnet_wp.exe or w3wp.exe process. 3. Retry the WFS server using IE or your WFS client. Troubleshooting your Setup There are a several places to verify that your configuration information is correct: Web.config file 1. Is the value for ConfigFile correct? The path to the WFSSample.xml file needs to be completely accurate in the value attribute of the <appsettings> <add> element in the Web.config for the server to work properly. 2. Is the version number of the software correctly specified? Make sure that the Version values discovered in Step 1: Verify the Software Version are correctly specified in the type(publickeytoken) attribute of the <httphandlers> <add> element of the Web.config file. 3. Are the Public Key Tokens correctly specified? Make sure that the Public Key Token values (as can be discovered while using Assembly in Step 1: Verify the Software Version) are correctly specified in the type(version) attribute of the <httphandlers> <add> element of the Web.config file. WFSSample.xml File 1. Is the value in the <mxp-wfs:onlineresource> element properly specified? This value needs to specify the correct URL ending with getfeature.ashx. 2. Are the data sources properly defined in the <mxp:datasourcedefinitionset> elements? Each data source needs to have its own element containing a valid path to each particular file. Make sure you do not duplicate id attribute values or <mxp:datasourcename> element values. Also each <mxp:filename> element value must be a valid path pointing to a valid file. 3. Are the name and title elements unique in the <mxp-wfs:tableset>? If either a name or title is duplicated the system throws an error. IIS Setup 1. Is the directory to be served established as a Virtual Directory? 2. Is the IIS server running? 3. Did you kill the aspnet_wp.exe or w3wp.exe process? It is not immediately apparent that the process has been killed as the process restarts almost instantly, however the memory usage is significantly less. If any small detail is inaccurate, the system does not operate properly and throws an error. Once you iron out these details, the system works correctly every time. 2006 MapInfo Corporation. All rights reserved. 18 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf

Accessing Network Drives The ASP.NET login is a local machine account which does not have network file access privileges. As a result, the ASP.NET process that runs your WFS server must be configured to run as a user that has permissions to access the network folder. Also, the network folder must be fully specified as a Universal Naming Convention (UNC) instead of a mapped drive. For example, use \\server\data\ rather than a mapped drive such as Z:\data. There are a number of scenarios and options considered to configure the ASP.NET process user. The links below access knowledge documents that describe appropriate solutions. Accessing Network Drives with IIS 5.0/5.1 Simple Password Choose a network user to run the ASP.NET process and ensure that user has access to the network folder. Where possible limit permissions of this user to prevent unexpected or malicious access to data. As an example, assume that the username is MYDOMAIN\WFSUser, with a password WFSUserPassword. 1. Make a backup copy of the Web.config file. 2. Add the following line in the <system.web> section of the web.config file: <identity password="wfsuserpassword" username="mydomain\wfsuser" impersonate="true" /> 3. Restart the WFS Server. Because the password for the named user is stored without any form of encryption, this approach makes it possible for someone to access the web.config file and obtain this password. If you need a more secure approach, use the Encrypted Password section below. Encrypted Password Instructions for creating encrypted passwords can be found in the following MSDN articles: http://support.microsoft.com/default.aspx?scid=kb;en-us;329290. It may be necessary to use the hotfix described in the following article to enable the use of encrypted registry passwords: http://support.microsoft.com/default.aspx?scid=kb;en-us;329250 Accessing Network Drives with IIS 6.0 The methods described above for IIS5.0/5.1 are also relevant to IIS 6.0. There may also be more convenient methods for the configuration of the ASP.NET process user identity and related security. For example, see the section "username and password Equivalent Settings in IIS 6.0 Worker Process Isolation Mode" in the following article: http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/iis/26d8cee3-ec31-4148-afab-b6e089a0300b.mspx 2006 MapInfo Corporation. All rights reserved. 19 MapXtreme2005_WFS_Server_Setup_Tutorial.pdf