Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

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 Dev Shed Forums Sponsor:
  #1  
Old January 29th, 2004, 04:49 PM
xsoftdev xsoftdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 64 xsoftdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 51 m 7 sec
Reputation Power: 6
Crash on objConnection.Open myConnString

Dim myConnString
myConnString = "Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Inetpub\wwwroot\database\dbProperty.mdb"

Dim objRecordset, objConnection, strSQL


strSQL = "SELECT * FROM tblProperty WHERE Expire >= #" & Date & "# "


strSQL = strSQL & " ORDER BY ListDate ASC"
Set objConnection = Server.CreateObject("ADODB.Connection")
Set objRecordset = Server.CreateObject("ADODB.Recordset")
objConnection.Open myConnString

objRecordset.CursorLocation = 3
objRecordset.CursorType = 3

objRecordset.Open strSQL, objConnection
------------------------------------------
Above is my code

I am using ASP and Access, the site was working great, I have other sites using ASP and Access on the same box that are working fine. But this one is no crashing at the line:
objConnection.Open myConnString

I cant seem to figure this out. Sometimes it works and most of the time it crashes.

Reply With Quote
  #2  
Old January 30th, 2004, 02:17 PM
xsoftdev xsoftdev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 64 xsoftdev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 51 m 7 sec
Reputation Power: 6
Help!!
I cant figure out why this is happening.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Crash on objConnection.Open myConnString


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