
December 9th, 2000, 06:30 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
Adodb error help urgent
<i><b>Originally posted by : Hakim (hakim@arabtel.com.kw)</b></i><br /><br />My script file contents are as below<br />_____________________________________________<br /><%@ LANGUAGE="VBscript"%><br /><%<br />Set conn = Server.CreateObject("ADODB.Connection")<br />conn.open "StoreDB","sa"<br /><br />set myrec = Server.CreateObject("ADODB.RecordSet")<br />myrec.open "select * from Product" ,conn , adOpenDynamic, adLockOptimistic,<br />adCmdText<br /><br />if not myrec.eof then<br />response.write(myrec(0))<br />end if<br />%><br />_______________________________________________<br />when i browse this file i get the error below<br /><br />_____________________________________________<br />ADODB.Recordset error '800a0bb9'<br /><br />The application is using arguments that are of the wrong type, are out of<br />acceptable range, or are in conflict with one another.<br /><br />/hakim/new_page_2.asp, line 7<br />______________________________________________<br />can someone please help me out of this?<br />thanks in advance.<br /><br />
|