02-09-2011 08:11 AM
When changing database directory in lk6.5, no alarms are logged anymore. Traces are running ok, only any query in MAX concerning alarms, will result in an empty response
02-09-2011 09:43 PM
How did you change the database directory? Did you create a new database by MAX and configure the database path in lookout?
Do you see the mssql file in database folder?
02-10-2011 02:29 AM
Hi Ryan,
I tried many ways. First as you described. Second; delete all databases (with MAX) and start lookout, hoping lk would make al necessary settings.
I tried short path name, long path name. All the same results; database will be made (or manually with Max or automatically by lk), all traces works, only NOT the Alarm logging. (database isn't corrupted, while a query done in MAX don't result in an error, just empty result).
I the meantime I found something;
C:\Documents and Settings\my name\my documents\Databse --> traces works, alarms not
C:\Program Files\National Instruments\Lookout 6.5\Database --> all works
So it seams that specificly "my documents" does'nt work for alarms, just for traces (????)
I also found the following message when trying to export the alarms; "The given Citadel database is not currently configured to log alarms to a relational database." Does this ring a bell?
02-10-2011 02:36 AM
So, if the database is located in the lookout folder, both trace and alarm work?
The trace is logged by Citadel service. The alarm/event is actually logged by SQL Server. You don't need to configure anything for alarm logging.
It looks like that the SQL Server process doesn't have privilege to access your documents folder.
By the way, after you create a database in different folder, you need to set the database in Lookout. In Option->System to set the default database, or in File->Modify Process to set database for specific process.
02-10-2011 04:14 AM
Thanks for the fast response, I will sort out the excess of my documnets and report to make this post complete.
I have another very urgent question in a large project.. I will make a new post.
Cheers, Rob