WebErrorHandler.LogErrorToSql

Logs the request in question to a SQL database. You pass in the connection information and the request will be logged into the log table.

This method utilizes the WebRequestLog class to perform its logging functionality.

o.LogErrorToSql(string ConnectionString)

Return Value

bool

Parameters

string ConnectionString
A connection string that points at the database that contanis the Error log files. For more info check the WebRequestLog class topic. You can call the CreateTable method to cause the SQL table for the log to be created.

Remarks

Make sure you create the WebRequestLog SQL table. The Web Store includes this table as part of its setup script. You can also call the WebRequestLog.CreateTable method to create the table programmatically.


See also:

Class WebErrorHandler

© West Wind Technologies, 1996-2018 • Updated: 11/29/03
Comment or report problem with topic