Good afternoon,
I am in the process of setting up Log Analyzer (ver. 5.35) with ODBC logs. I am using SQL 2000 as my database. Whenever I click the "test" button in the ODBC Logs Manager, it comes up with an "Ivalid Date" error message for all the records that it has imported. I have the [Date] and [Time] fields set up as data type of "datetime".
Any help would be greately appreciated.
Log Analyzer and ODBC
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you provide the query you have specified into "SQL Query" box of "Options > Primary Log" tab? Could you send file "odbclogs.lst" from the folder, where Log Analyzer is installed to support@ks-soft.net? What exact Date and Time do you see when you select query from the table using Microsoft Query Analyzer? Could you also provide the structure of the table, that is used for logging?
Regards,
Max
Regards,
Max
-
- Posts: 13
- Joined: Tue Feb 27, 2007 12:06 pm
Max,
The query that is specified is as follows:
Insert into logs (eventtime, testname, status, reply, testid, testmethod) VALUES ('%DateTime%', '%TestName%', '%Status%', '%Reply%', %TestID%, '%TestMethod%')
I have sent the odbclogs.lst file to support@ks-soft.net.
When I run that same query, I get the following message:
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'TestID'.
Please be patient with me as I am not that experienced with SQL, so I might ask for some clarification.
Thank you for your help.
The query that is specified is as follows:
Insert into logs (eventtime, testname, status, reply, testid, testmethod) VALUES ('%DateTime%', '%TestName%', '%Status%', '%Reply%', %TestID%, '%TestMethod%')
I have sent the odbclogs.lst file to support@ks-soft.net.
When I run that same query, I get the following message:
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'TestID'.
Please be patient with me as I am not that experienced with SQL, so I might ask for some clarification.
Thank you for your help.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Where do see such error? When you are pressing "Test" button in HostMonitor's menu "Options" > "Primary Log" tab? Could you send me the structure of the 'logs" table? You may use "Script Table As" > "Create To" option of Microsoft's "Query Analyzer" or "Enterprise Manager" to get such information.mcclelland2007 wrote:When I run that same query, I get the following message:
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'TestID'.
Could you perform the following query using "Query Analyzer" or "Enterprise Manager": select top 10 * from logs
Please, send the output back to us.
No problem.mcclelland2007 wrote:Please be patient with me as I am not that experienced with SQL, so I might ask for some clarification.
Regards,
Max
-
- Posts: 13
- Joined: Tue Feb 27, 2007 12:06 pm