Sunday, September 07, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Developers  Some problem ab...
 Some problem about the missing audit tables after rebuilding the database by source.
 
dragoon
16 posts
Joined
6/5/2008

Some problem about the missing audit tables after rebuilding the database by source.
Posted: 14 Jul 08 2:19 AM Modified By dragoon  on 7/14/2008 2:32:07 AM)

I used the sql source to rebuild the databasse, and recently I found some errors about aduit.
Then I login into the sql server and I find all the audit tables are missed.
I try to fix it by running "exec dbo.spSqlBuildAllAuditTables;" and it gives me one error
(the message is described in Chinese and it looks like) :
"dbo.ACCOUNTS_CSTM_AUDIT" can't be found because the object doesn't exist or you don't have the right to access it.

The dbo.ACCOUNTS_CSTM table is modified and has about fifty columns now.

Can you give me some suggesting to fix it?

After my posting here, I try to create dbo.ACCOUNTS_CSTM_AUDIT manully, then "exec dbo.spSqlBuildAllAuditTables;"  can create other audit tables successfully. My guess would be I use some special word that would stop the procedure.

Thank you very much.

support
1887 posts
1st
Joined
1/3/2006

Re: Some problem about the missing audit tables after rebuilding the database by source.
Posted: 14 Jul 08 5:16 AM
Did you create any of the fields in the ACCOUNTS_CSTM table manually?  If so, it is possible that you have used a field type that we have not planned for.  The audit code needs to create an idential audit table, so if it is not coded to handle a field type, then you will get this kind of error. 
dragoon
16 posts
Joined
6/5/2008

Re: Some problem about the missing audit tables after rebuilding the database by source.
Posted: 15 Jul 08 7:03 AM

Yes, about fifty fields. I think it's the problem that you mentioned. Anyway, I fix it by creating audit table manually. It works now.

Thank you!

  Mainstream Forums  Developers  Some problem ab...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.