Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - line 82 in functions_date_time_format.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

line 82 in functions_date_time_format.asp

 Post Reply Post Reply
Author
snooper View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 23 April 2002
Location: Israel
Status: Offline
Points: 333
Post Options Post Options   Thanks (0) Thanks(0)   Quote snooper Quote  Post ReplyReply Direct Link To This Post Topic: line 82 in functions_date_time_format.asp
    Posted: 22 June 2005 at 7:00pm
Hi all
 
i am using the latest version on SQL.
 
today, for the 2nd time, i am suddenly getting the following error:
 

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/lishka/functions/functions_date_time_format.asp, line 82

its important to stress, that i have not made ANY changes in the coding or DB at all in this time.
 
 
last time it happened, the host (jodo) was kind enough to restore a DB from a few hrs back and it seemed to solve the issue, whatever it may have been.
 
today, it happened again, and stephen isnt in to help out like last time, so it may b a little longer.... anyway...  i want to get to the root issue.
 
anyone got any idea what this could be?
 
line 82 is marked:
 
 
 'Craete a recordset to get the date and time format data
 Set rsDateTimeFormat = Server.CreateObject("ADODB.Recordset")
  
 'Initalise the strSQL variable with an SQL statement to query the database
 If strDatabaseType = "SQLServer" Then
  strSQL = "EXECUTE " & strDbProc & "TimeAndDateSettings"
 Else
  strSQL = "SELECT " & strDbTable & "DateTimeFormat.* FROM " & strDbTable & "DateTimeFormat;"
 End If
  
 'Query the database
'***NEXT LINE IS 82****
 rsDateTimeFormat.Open strSQL, adoCon
 
 'If there are records returned then enter the data returned into an array
 If NOT rsDateTimeFormat.EOF Then
  
  'Redimension the array
  'This is done as a dynamic array oterwise it can't be filled by the application array next time around
  ReDim saryDateTimeData(17)
'....
 
 
any ideas?
 
thanks!
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 23 June 2005 at 2:06am
It's looking for an integer constant and not finding one where it expects to for the particular operation.
You'd need to response.write strSQL, adoVon, and also check the stored proc.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
snooper View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 23 April 2002
Location: Israel
Status: Offline
Points: 333
Post Options Post Options   Thanks (0) Thanks(0)   Quote snooper Quote  Post ReplyReply Direct Link To This Post Posted: 23 June 2005 at 5:46am
i understand.
 
here's another weird thing about it: a few minutes later, it all came back, and was fine - without me or the host changing anything - AT ALL.
 
i looked up the error, and it seems it may have something to do with a session issue, and support made a similar commenty, but they couldnt check it out properly, because it started working again.  see here: http://support.microsoft.com/kb/q197323 
 
this is on Win6, by the way, on Jodo.
 
all other comments welcome!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.