hankfu
11th April 2002, 08:15
I setup the audit to trace the tiitm001. But now if I want to run the session of tools, I get a message "error 251 (The audit server setup is not correct) on ttaad411000 in db_update(51)".

I have checked all of the configuration about the audit, but I can't find out the reason.

Could you please tell me how to cancel it?

patvdv
11th April 2002, 08:34
Hankfu,

To cancel auditing just remove the table from the list of the audit database in session 'Assign tables to database'. Then convert to runtime from that session.

hankfu
11th April 2002, 09:49
Originally posted by patvdv
Hankfu,

To cancel auditing just remove the table from the list of the audit database in session 'Assign tables to database'. Then convert to runtime from that session.

Thank you for your reply.
But when I want to remove the line, I also get the message. Then the session is closed.

srinivas
11th April 2002, 10:13
Check whether entry for tiitm001 is there in the session ttaad4116m000 "Maintain Audit file Directories". If you don't want audit for tiitm001 remove any specific entry that is present here for tiitm001.

If you want audit check the directory path whether it is valid or not.

hankfu
11th April 2002, 14:19
I'm sorry. I really don't know if it's valid.
I can find some files for tiitm001 in c:\baan\audit\atiitm. And in the session "ttaad4116m000" the directory is ${BSE}\audit.

And now whichever tools session I run, I'll get the message.

anupkumar
12th April 2002, 07:55
You can trythis out if you are sure you want to cancel audit on the table tiitm001.

Go to ${BSE}/lib. Edit the file tabledef6.1 and fine the entry for the table tiitm001 and any particular company number that you might have given.The entry will be something like this

tiitm001:*:DB parameters:Y

change the last field Y to N.
Now start baan go to session assign tables to database and remove audit for the table tiitm001.Do a convet to runtime.

This should cancel audit on tiitm001.



Anup

anupkumar
12th April 2002, 07:57
sorry for the emoticon..

i had said * : DB


Anup

patvdv
12th April 2002, 08:15
If you want to know how to avoid emoticons, please read this thread:

http://www.baanboard.com/baanboard/showthread.php?s=&threadid=840

hankfu
12th April 2002, 10:10
I have modified the tabledef6.1. And change the "Y" to "N".
Then when I want to delete the tiitm001 from the add table to database, I got the error 251 and the session is closed automaticlly.

Now whatever I do in tools, the error message always appear.

could you please help me to solve it?

patvdv
12th April 2002, 11:40
Hankfu,

Is this a new Baan installation? If so, did you follow the basic setup steps for auditing after finishing the software installation? Please post your full tabledef6.1 in attachment.

hankfu
12th April 2002, 12:51
It's a new installation.
Attached please find the file.

srinivas
12th April 2002, 13:05
at the end it should be *:*:msql7:N

Keep Y for tiitm001 and the open the session Assign tables to database and delete the entry for tiitm001

try this hope it would work

patvdv
12th April 2002, 13:18
Srinivas is right about the last - default - line in your tabledef. Change it, log in and then make the same change in your Tools sessions and convert to runtime again. Make sure that you then have exactly the same tabledef file as before the convert to runtime.

hankfu
12th April 2002, 13:22
It's working.