Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADODB.Connection error
Message
De
18/03/1998 17:03:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
ADODB.Connection error
Divers
Thread ID:
00085493
Message ID:
00085493
Vues:
54
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform