Hi there,
Here's what you need to do:
1. Create a database table with the following code:
Code:
CREATE TABLE InternetLog
(
ID int IDENTITY (1, 1) NOT NULL,
ClientHost varchar(255),
UserName varchar(255),
LogTime datetime,
Service varchar( 255),
Machine varchar( 255),
ServerIP varchar( 50),
ProcessingTime int,
BytesRecvd int,
BytesSent int,
ServiceStatus int,
Win32Status int,
Operation varchar( 255),
Target varchar(255),
Parameters varchar(255)
)
2. Create a DSN to your database using the ODBC Control Panel.
3. Open IIS, and then your website. On the
Properties dialog for your site, choose ODBC Logging from the drop-down. On the
ODBC Logging Properties dialog fill in the details for your DSN, Table name and the username / password combination that you need to log in to your database.
If you use SQL Server, I think you'll need to use SQL Security instead of Integrated Security, but I am not 100% sure about that.
HtH
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.