Collection Contents Index Environment variables CHAPTER 2.  The Database Server pdf/chap1.pdf

Reference Manual
   CHAPTER 1. File Locations and Installation Settings     

Registry entries and INI files


On Windows 95 and Windows NT operating systems, Adaptive Server Anywhere uses several registry settings. On Windows 3.x, UNIX, Netware 3.11, and OS/2, these settings are held in initialization files instead.

These settings are made for you by the software, and in general operation you should not need to access the registry. The settings are provided here for those people who make modifications to their operating environment.

Top of page  Current user and local machine settings

Some operating systems, such as Windows NT, hold two levels of system settings. Some settings are specific to an individual user, and are used only when that user is logged on; these settings are called current user settings. Some settings are global to the machine, and are available no matter which user is logged on; these are called local machine settings. You must have administrator permissions on your machine to make local machine settings.

Adaptive Server Anywhere permits both current user and local machine settings. For Windows NT, these are held in the HKEY_CURRENT_USER registry and HKEY_LOCAL_MACHINE registry, respectively.

The Adaptive Server Anywhere installation allows you to choose whether settings are made for the current user only, or at the local machine level.

Current user takes precedence 

If a setting is made in both current user and local machine registries, the current user setting takes precedence over the local machine setting.

When local machine settings are needed 

If you are running an Adaptive Server Anywhere program as a service under Windows NT, you should ensure that the settings are made at the local machine level.

Services can continue to run under a special account when you log off a machine, as long as you do not shut the machine down entirely. They can be made independent of individual accounts, and therefore need access to local machine settings.

In addition to Adaptive Server Anywhere programs, some Web servers run as services. You must set local machine settings in order for PowerDynamo to work with such a Web server.

In general, the use of local machine settings is recommended.

Top of page  Registry structure

On Windows 95 and Windows NT, you can access the registry directly with the registry editor. The Adaptive Server Anywhere registry entries are held in either the HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE registries, in the following location:

Software
   Sybase
      Adaptive Server Anywhere
         6.0
         ISQL
      SQL Remote
      Sybase Central
         Providers

Top of page  Registry settings on installation

The installation program makes the following registry settings in the Sybase registry:

Top of page  

Collection Contents Index Environment variables CHAPTER 2.  The Database Server pdf/chap1.pdf