“Error: Message does not exist. Object…”
Solution ID = KB-72
Goal : View all application-specific messages.
Version = Syteline7.03.05
Module : SLMFG
Symptom 1 : Get error message: "Error: Message does not exist."
Symptom 2 : Messages are missing or not available.
Database : SQL 2000
Cause
In rare cases, one or more of the
error message tables in the SL 7 SQL database is not populated properly:
- ObjectMainMessages
- ObjectBuildMessages
- ApplicationMessages
Fix
If the Error ends in TYPE :17 and contains an object that starts with PK_ , IX_, or CK_ then it is VERY LIKELY that this is NOT a problem with the ObjectBuildMessages table. It is an application issue that is resulting in a Primary Key , Index or Check Constraint being violated. In this case you should ignore the fix information below, and not do anything to any of the message tables.
FIX STEP 1 - Populate the Message Tables
Here are the instructions on how to get all the SyteLine 7
message tables loaded properly ...
1. Copy the zip patch file from
2. Unzip the zip patch file. You should now have
the following 4 files in D:\Temp:
- BaseMessages.sql
- ErrorMessages.sql
- ObjectBuildMessages.d
- ObjectMainMessages.d
3. Start up a SQL Query Analyzer session for your
application database.
4. Run the "ErrorMessages.sql" SQL script
file against the application database.
5. Start up a Command Prompt window (DOS Window), and then
run the following commands. Please review the notes that precede the
commands:
- The
default folder D:\Temp is used as an example in the commands.
- The
commands contain angle brackets
to indicate where you need to substitute values that reflect your SQL environment. - Make
adjustments as needed in the commands that follow.
BCP
-c
-o"D:\Temp\Result.txt" -U"
BCP
-c -o"D:\Temp\Result.txt"
-U"
6. Run the "BaseMessages.sql" SQL script file
against the application database.