Can someone look at my code and tell me why I might be getting this error<BR><BR>Trappable error script cannot continue to run<BR><BR>it is in my global.asa file<BR><BR>When I put the code in an asp page and run it I have no problems but when I run it in the asa file I sometimes get this error and then when I click the refresh button on my browser it goes through<BR><BR>Code<BR><BR>&#060;SCRIPT LANGUAGE=VBScript RUNAT=Server&#062;<BR><BR>Sub Session_OnStart<BR>On error Resume Next<BR>Dim Conn<BR>Dim ConnStr<BR>Dim RS<BR>Dim Sql<BR>Dim VarDate<BR>Dim VarCnt<BR>VarDate=Date<BR><BR>Set Conn = Server.CreateObject("ADODB.Connection")<BR>Set RS = Server.CreateObject("ADODB.Recordset")<BR><BR>Conn Str = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("./cgi-bin/Hits.mdb") <BR>Conn.Open connStr<BR><BR>Sql="Select Hits From Hits Where HitDate=#" & VarDate & "#"<BR>RS.Open Sql, Conn, 3, 3<BR><BR>VarCnt = RS.RecordCount<BR>RS.Close<BR>If VarCnt * 1=0 Then<BR><BR> Sql="Insert Into Hits(Hits,HitDate) values(1, &#039" & VarDate & "&#039)"<BR> Conn.Execute Sql <BR>Else<BR> Sql="Update Hits Set Hits.Hits=Hits.Hits + 1 Where HitDate=#" & VarDate & "#"<BR> Conn.Execute Sql<BR>End If<BR>Conn.Close<BR>Set RS=Nothing<BR>Set Conn=Nothing<BR><BR>End Sub<BR><BR>&#060;/SCRIPT&#062;