If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ODBC Connection Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-11-05, 08:45
ddbruno ddbruno is offline
Registered User
 
Join Date: Feb 2005
Posts: 2
ODBC Connection Problem

Hello All,

I try not to turn to others for help but I am stumped. When I have an ASP page that trys to connect to an Access database I get an error and the page stops loading, i.e.

Code:
strProvider = "Driver={Microsoft Access Driver (*.mdb)};
   DBQ=somedata.mdb"
set objConn = server.createobject("ADODB.Connection")
'Opens the connection to the data store
objConn.Open strProvider
When the script gets to "objConn.Open strProvider" the page stops loading. This happens on every page and every DB.

I downloaded the latest Jet driver from Microsoft, checked my IIS settings and checked the security/permission settings. No help.

This just started so I am wondering if anyone else has had this problem. I recently installed the .Net beta 2 Framework and was wondering if there was a compatibility issue.

Any help would be great. Thanks, Bruno
Reply With Quote
  #2 (permalink)  
Old 02-11-05, 09:31
White Knight White Knight is offline
Registered User
 
Join Date: Dec 2004
Location: York, PA
Posts: 95
__________________
Sorry to be terse
some say it's a curse
I know it's worse
I'm just diverse
Reply With Quote
  #3 (permalink)  
Old 02-11-05, 14:53
ddbruno ddbruno is offline
Registered User
 
Join Date: Feb 2005
Posts: 2
Already Tried That

Hi,

I already tried different forms of connection strings but nothing changed.

Any other ideas?

Thank!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On