> can you post the query that you are running?
The "LPQ - Preprocess an IIS log file.sql" query file consists of the following:
SELECT TOP 10 '%SourceFile%' AS [SourceFile],
[LogRow],
SUB(TO_TIMESTAMP([date], [time]), TIMESTAMP('5', 'h')) AS [local-date-time],
[c-ip],
[s-sitename],
[s-port],
[cs-method],
[cs-uri-stem],
[cs-uri-query],
[sc-status],
[sc-substatus],
[sc-win32-status],
[time-taken],
[cs(User-Agent)]
INTO 'TrevTest20080731T1328.txt'
FROM '%SourceFile%'
ORDER BY [local-date-time],
[LogRow]
Also, I scaled the query down as I was troubleshooting the problem (hence the TOP 10 argument and the INTO clause).
> I doubt the large file size is an issue as I parse files around that size and never had an issue (so far at least)
I've been using the query to analyze the logs from two different web sites hosted on the same IIS 6.0 web server. The unhandled exception occurs with log files from the Default Web Site, but the query works correctly with log files from the second web site. The main difference between them is volume of data, but there are also different fields logged by each web site.