check out where the server IIS stores it log file.
read the data, and make a small program which read the log data in text format and then stores in the database , 1 line for a record entry.
Apache Webserver uses a log file called error.log and access.log file
and u can write a simple program which parses the text data and stores in the database
thanks
klyan