NGWS SDK Samples Manual Configuration
This document demonstrates how to manually configure the NGWS SDK
samples.
System Requirements
The NGWS SDK samples require a
machine running IIS 5.0 and SQL Server 7.0. The samples assume that a local SQL
Server is using the credentials: username=sa and password=<blank>.
The samples will not run properly if your database server uses different
credentials. If SQL Server is not installed on your machine, run the
automated configuration
and an MSDE database server will be installed for
you.
Installation Instructions
Either run the
automated configuration to create
the IIS VRoots, configure the databases and add the registry keys, or complete
the instructions below.
Creating the IIS Virtual Directories
Create
the following IIS virtual directories. The
paths for the virtual directories all stem from the NGWSSDK\Samples directory.
For example:
C:\Program Files\NGWSSDK\Samples\ClsView
/ClsView
/CrossLang
/RothIRA
/Quickstart
/Quickstart/aspplus
/Quickstart/winforms
/Quickstart/howto
/Quickstart/aspplus/samples/grocertogo
/Quickstart/aspplus/samples/portal
/Quickstart/aspplus/samples/apps/application1
/Quickstart/aspplus/samples/apps/application2
/Quickstart/aspplus/samples/apps/session1
/Quickstart/aspplus/samples/localize/resources
/Quickstart/aspplus/samples/security/cookieauth
/Quickstart/aspplus/samples/security/userauth
/Quickstart/aspplus/samples/security/windowsauth
To execute the optional Visual Basic code, the following virtual roots
must also be created.
/Quickstart/aspplus/samples/grocertogo/VB
/Quickstart/aspplus/samples/apps/VB/application1
/Quickstart/aspplus/samples/apps/VB/application2
/Quickstart/aspplus/samples/apps/VB/session1
/Quickstart/aspplus/samples/security/VB/cookieauth
/Quickstart/aspplus/samples/security/VB/userauth
/Quickstart/aspplus/samples/security/VB/windowsauth
Configuring the SQL Server
Databases
Four databases are used throughout the samples: The two default
databases: pubs and northwind; And two custom databases: GrocerToGo and
Portal.
Install these databases using SQL Server Enterprise Manager.
The database files can be found under the Samples\Setup directory.
Adding the Registry Keys
The addition of four registry keys are required.
Or manually add the following keys to the registry:
DWORD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus\Switches\ABooleanSwitch =
1
DWORD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus\Switches\ATraceSwitch = 4
DWORD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus\Switches\TraceMethods = 1
DWORD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus\Switches\Arithmetic = 4
Copyright ⌐ 2000 Microsoft Corporation. All rights reserved.