How to configure ISA Server 2004 to log data to an SQL Server database: http://support.microsoft.com/default.aspx?scid=kb;en-us;838710
How to manually remove the MSDE database in ISA Server 2004: http://support.microsoft.com/?scid=kb;en-us;838707&spid=2108&sid=global