Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to a Progress database

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
I have set up a system DSN and am trying to call it from an ASP page. Am getting an error though

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[DataDirect-Technologies][ODBC PROGRESS driver]Insufficient information to connect to the data source.
/sos/index.asp, line 7

The credentials work when I test them in ODBC so am not sure where I'm going wrong - any ideas?

Also because the database is named in the DSN do I have to name it again in the connection string?

Thanks very much

Ed


<%

Set DB = Server.CreateObject("ADODB.Connection")
Set TBL = Server.CreateObject("ADODB.RecordSet")

DB.Mode = adModeReadWrite
DB.Open ("DRIVER=MERANT 3.60 32-BIT PROGRESS SQL92 v9.1D; DSN=SOS; UID='username'; PWD='password'; database='sosdb';")

Response.Write("Connection established!")

Set TBL=Nothing
Set DB=Nothing

%>
SOS Reporting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top