Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADODB.Connection error
Message
From
18/03/1998 17:03:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
ADODB.Connection error
Miscellaneous
Thread ID:
00085493
Message ID:
00085493
Views:
58
I apologize for this message being in the wrong area, but I am in dire straits.

I am attempting to create an Active Server Page using VBScript. This page is called from the submit of an HTML form consisting of user entered data. The VBScript takes this data via request("FormFieldName"), makes a connection to a System DSN to an Access Database, and performs an INSERT INTO into a specific table.

Very simple task to perform. Or so I thought.

Doing a test on a local server, this principle worked fine. Although, the application located on a different server doesn't. Specifically, the app can't seem to make an ODBC connection to the database.

Sample script to establish connection is :

set cn=Server.CreateObject("ADODB.Connection")
set cm=Server.CreateObject("ADODB.Command")
cn.Open "DSN=DSNname"

Is there something I may be missing??? Or what?
Next
Reply
Map
View

Click here to load this message in the networking platform