Hi guys , been using simple ASP to connect to an MS Access database for applications on our company intranet.
Our order entry server uses progress, I can connect to this using the ODBC built into MS Access for VB applications etc
I've never been able to connect to the live datasourece directly through ASP though.
In the past I've used MS Access to copy data from the progress database into access overnight as a scheduled task and then display this using ASP but this is less than ideal.
I've installed Progress Client Networking on our Domain Controller (which acts as webserver) , our file server (where the asp pages are) and the terminal servers which our users would login to.
When I try to connect to our data source I get the following error message
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /scripts/test.asp, line 9
The connection code I'm using is as follows :
The version of Progress I have installed is 9.1E04
Any ideas on what I might be doing wrong ?
thanks very much for your help
Andy
Our order entry server uses progress, I can connect to this using the ODBC built into MS Access for VB applications etc
I've never been able to connect to the live datasourece directly through ASP though.
In the past I've used MS Access to copy data from the progress database into access overnight as a scheduled task and then display this using ASP but this is less than ideal.
I've installed Progress Client Networking on our Domain Controller (which acts as webserver) , our file server (where the asp pages are) and the terminal servers which our users would login to.
When I try to connect to our data source I get the following error message
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /scripts/test.asp, line 9
The connection code I'm using is as follows :
Code:
<%
DIM adoCon
Set adoCon = Server.CreateObject("ADODB.Connection")
adoCon.ConnectionString = "DSN=livesxe_fs;UID=*****;PWD=*****"
adoCon.Open
Dim rsCompany
Dim strSQL
Set rsCompany = Server.CreateObject("ADODB.Recordset")
strSQL = "select * from aret where cono = 1 and custno = 1075 "
rsCompany.Open strSQL, adoCon
%>
TEST <BR>
Company name <% = rsCompany("name") %>
<%
'close db connection
set rstemp = nothing
conntemp.Close
%>
The version of Progress I have installed is 9.1E04
Any ideas on what I might be doing wrong ?
thanks very much for your help
Andy