SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 15th, 2000, 12:49 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Problem creating ASP/Access Recordset

<i><b>Originally posted by : sanjay saxena (sanjay_saxena@email.com)</b></i><br />I am using ASP with MSAccess 97<br /><br />1: set oconn = Server.CreateObject("ADODB.connection")<br />2: oconn.Open ("<dsnname>")<br />3: dim rst <br />4: set rst = Server.CreateObject("ADODB.Recordset")<br />5: rst.open "resume",oconn, ,adLockPessimistic, ,adCmdTable<br /><br />gives following error in line 5<br />ADODB.Recordset error '800a0bb9' <br /><br />The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. <br /><br /><br />

Reply With Quote
  #2  
Old November 16th, 2000, 06:29 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : nigel clarke (nigeIT@talk21.com)</b></i><br /><br />Your line 1-5 listing implies you haven't defined the adLockPessimistic, adCmdTable constants.<br /><br />If you use Option Explicit for your scripts this would be picked up otherwise the recordset doesn't recognise the values.<br /><br />Maybe?!<br /><br />------------<br />sanjay saxena at 11/14/2000 10:49:32 PM<br /><br />I am using ASP with MSAccess 97<br /><br />1: set oconn = Server.CreateObject("ADODB.connection")<br />2: oconn.Open ("<dsnname>")<br />3: dim rst <br />4: set rst = Server.CreateObject("ADODB.Recordset")<br />5: rst.open "resume",oconn, ,adLockPessimistic, ,adCmdTable<br /><br />gives following error in line 5<br />ADODB.Recordset error '800a0bb9' <br /><br />The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. <br /><br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Problem creating ASP/Access Recordset


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT