ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 3rd, 2003, 02:43 PM
cpwatkins cpwatkins is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 cpwatkins User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Cannot connect to DB with ASP Data Grid

I am using the data grid that was posted in one of the articles:URL
and am unable to get it to connect to any data source.

My connection string is as follows:::
///////////////////////////////////////////////////////////////////////////////
strConnectionString = "Provider=OraOLEDB.Oracle;" & _
"Data Source=ARSP;" & _
"User Id=uId;" & _
"Password=pWd"
///////////////////////////////////////////////////////////////////////////////


the error that I am receiving is:::
///////////////////////////////////////////////////////////////////////////////
ADODB.Recordset (0x800A0E7D)
The connection cannot be used to perform this operation. It is either closed or invalid in this context.
/PerformanceMS/supportfile/dynamic.datagrid.asp
///////////////////////////////////////////////////////////////////////////////

The code that lives at this error is ::::

objRS.ActiveConnection = objConn

I have tried using DSNless connections using both ODBC and OLEDB, and I will still get the same error.
Is there something that I am missing??

Please help!!!!



Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Cannot connect to DB with ASP Data Grid


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 3 hosted by Hostway
Stay green...Green IT