|
This section provides a few tips on troubleshooting problems in a Workgroup environment.
If you are regularly experiencing a delay when the first file-open request is issued, see if these techniques help.
Connecting to an engine on the same machine as the data is the client's first priority when deciding where to send a file-open request. In order to make sure a workgroup engine is running, put an engine icon into the startup folder with the command
Another option on Windows 98/ME is to run the engine as a service. For more information, refer to Runs as Service .
If you cannot run an engine where the data is, then the time delay during the first connection is a more important issue. Here are a few things you can do.
You can turn this setting on in PCC. Within PCC Pervasive.SQL Explorer, expand Local Client node then right-click on MicroKernel Router. Click Properties then click Access. Click the Gateway Durability option to set it to "on" (a check mark indicates that the setting is "on") then click OK.
Note
This feature is OFF by default since it fixes the topology. If you add a server engine or a Workgroup engine where the data is, you must turn this setting back to OFF on each of the clients where you turned it ON. Turning the setting off erases the registry of computers without an engine running, so you can turn it back ON immediately and a new list will be generated based on the new topology.
Status 116 is a MicroKernel Status Code which means that the file is being used by another MicroKernel engine acting as a Gateway. If your application receives a status code 116, it means that the MicroKernel router can read the locator file but cannot contact the engine running on the gateway computer.
The first thing you need to do is find out who the gateway is. You can perform this task with the Gateway Locator utility.
Next, use PSA network tests to try to connect to that computer. PSA can provide valuable information to isolate the problem.
One situation when this could occur is when the two computers are separated by a router such that they can both see the file server but they cannot see each other.
|
Chapter contents
Prev topic: Technical Differences Server vs. Workgroup
|