I have data which is stored/managed in 3 different databases - 2 of which are SQL server and 1 is Access. I need to Query all three databases to combine the information needed into one recordset, then display the results on an ASP page.
For example, Vendor information is stored thus:
Database1 (QC db, Access): Vendor certification status
Database2 (ERP, SQL server): Vendor info and on-time delivery
Database3 (Production, SQL server): Vendor rejection rates
For each vendor, I need to pull their info, their cert status, their on-time delivery rate, and their rejection rate. This data will then be output, one vendor/row at a time, on an intranet page to show complete eligibility for vendor approval.
As a first step, I attempted to link one of the SQL Servers to the Access information as follows:
1. In the Access db (Documents), I added linked tables from the SQL server database (M2M) using a system DSN available on my machine.
2. In Documents, I created a query (qryVendInfo) that pulled some data from Documents, and some data through the linked tables in M2M.
3. On the intranet page, I use a DSN to connect to Documents.
4. The intranet runs a query that pulls information from qryVendInfo, then manipulates it and outputs it.
When the page is loaded, it gets to the point where it tries to query qryVendInfo, and I get the error
[tt]Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'M2M' failed. [/tt]
What do I need to do to make this work?
Cheryl dc Kern
For example, Vendor information is stored thus:
Database1 (QC db, Access): Vendor certification status
Database2 (ERP, SQL server): Vendor info and on-time delivery
Database3 (Production, SQL server): Vendor rejection rates
For each vendor, I need to pull their info, their cert status, their on-time delivery rate, and their rejection rate. This data will then be output, one vendor/row at a time, on an intranet page to show complete eligibility for vendor approval.
As a first step, I attempted to link one of the SQL Servers to the Access information as follows:
1. In the Access db (Documents), I added linked tables from the SQL server database (M2M) using a system DSN available on my machine.
2. In Documents, I created a query (qryVendInfo) that pulled some data from Documents, and some data through the linked tables in M2M.
3. On the intranet page, I use a DSN to connect to Documents.
4. The intranet runs a query that pulls information from qryVendInfo, then manipulates it and outputs it.
When the page is loaded, it gets to the point where it tries to query qryVendInfo, and I get the error
[tt]Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'M2M' failed. [/tt]
What do I need to do to make this work?
Cheryl dc Kern