Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 7th, 2008, 01:29 PM
Friend of Wrox
Points: 1,035, Level: 12
Points: 1,035, Level: 12 Points: 1,035, Level: 12 Points: 1,035, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , USA.
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default Connection String to MS ACCESS

I am getting an error message with my connection string. I am connecting to a different server and my connection string is below.

  Dim objConnPROP
  Set objConnPROP = Server.CreateObject("ADODB.Connection")
  objConnPROP.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\backdraft\administration\Programs and Database\Benefits\PROP.mdb"

Am I missing something else? Everytime I run the application I get an error message

ADODB.Recordset error '800a0bb9'

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

Below is the program that is trying to open the database:

strSQL = "SELECT * FROM Transaction_Detail " & _
              "WHERE SSN = " & Session("SSN") & " ORDER BY Tran_Seq_ID ASC;"
Set rsPROPInfo = Server.CreateObject("ADODB.Recordset")
rsPROPInfo.Open strSQL, objConnPROP


Please help me get this problem resolved.

Thanks

 
Old January 7th, 2008, 02:09 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Try this site:

http://www.connectionstrings.com/

 
Old January 7th, 2008, 02:14 PM
Friend of Wrox
Points: 1,035, Level: 12
Points: 1,035, Level: 12 Points: 1,035, Level: 12 Points: 1,035, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , USA.
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default

I already went to that site and used it. I am still getting the same error message.

 
Old January 8th, 2008, 12:45 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

What is the error message?

 
Old January 24th, 2008, 06:54 PM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

check your syntax for errors or spelling mistakes.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO Connection between 2 MS Access Database Scripts82 Access VBA 2 February 8th, 2006 02:35 AM
Connection Pool on MS Access? Edward King Java Databases 1 August 3rd, 2005 12:48 AM
ms access database connection android66 Javascript 1 December 1st, 2004 07:19 AM
Help with ASP and MS ACCESS. Connection error. patzblue Access ASP 7 September 11th, 2004 05:43 AM
Can't get connection to MS Access pekj JSP Basics 1 June 1st, 2004 04:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.