Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Appendix C: Backward Compatibility [Table of Contents]

Adaptive Server Enterprise Monitor Client-Library Programmer's Guide

[-] Appendix D: Troubleshooting Information and Error Messages

Appendix D

Troubleshooting Information and Error Messages

This appendix contains two sections.

Troubleshooting

Confusing Messages from Adaptive Server

If you create a view that requires information from a database that needs to be recovered, you get error messages from Adaptive Server rather than a concise error message from Monitor Client Library.

View Refreshes Fail

Negative Numbers as Object Ids

If you create a view using the SMC_NAME_OBJ_ID data item, you might see negative numbers as object IDs. Negative object IDs are an accurate reporting of IDs as assigned by Adaptive Server.

Monitor Server reports on all activity, including activity on temporary tables that Adaptive Server creates to perform a complex query. The object IDs that Adaptive Server assigns to temporary tables can be positive or negative. The object ID that was assigned by Adaptive Server is reported.

In views that show SMC_NAME_OBJ_NAME, the string **TempObject** is reported for temporary tables.

Error Messages

Monitor Client Library is an Open Server application that uses the Open Client Library to communicate with Adaptive Server and Monitor Server. Any of these components can detect and report errors conditions. Monitor Client Library also detects and reports error conditions, which it logs or reports or both to clients.

The following building, linking, and compiling error messages may be reported. They are listed here in alphabetical order.

Communication failure: Check if server is running.

While running testmon.exe, one of the following conditions caused the error to be reported:

Configuration failure: Possibly missing interfaces file or bad login parameters.

While running testmon.exe, one of the following conditions caused the error to be reported:

Don't know how to build example.h.

While building testmon.exe, one of the following conditions caused the compile error to be reported:

error L2029: 'SMC_CONNECT' : unresolved external

While building testmon.exe, the following condition caused the link error to be reported:

error L2029: 'SMC_CREATE_VIEW' : unresolved external

While building testmon.exe, the following condition caused the link error to be reported:

fatal error C1083: Cannot open include file: 'cstypes.h': No such file or directory

While building testmon.exe, one of the following conditions caused the compile error to be reported:

fatal error C1083: Cannot open include file: 'mcpublic.h': No such file or directory

While building testmon.exe, the following condition caused the compile error to be reported:

LINK: fatal error L4051: smcapi32.lib : cannot find library

While building testmon.exe, the following condition caused the link error to be reported:


Appendix C: Backward Compatibility [Table of Contents]