ACC2000: "Data Source Name Not Found" Message When You Open Web Page (208304)
The information in this article applies to:
This article was previously published under Q208304 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
After you export data to create Dynamic HTX/IDC or Dynamic Active Server Pages (ASP) files on your Web server, you may receive the following message when you try to view those files with your Web browser:
The page cannot be displayed
In addition to the path and file name of the page that you try to open, the error message may include the following:
Data source name not found and no default driver specified
CAUSE
This behavior occurs when there is not a System data source name (DSN) data source on the server or when your Web page file contains an incorrect reference to the System DSN.
RESOLUTION
To add a new System DSN or check the name of an existing data source on your Web server computer, follow these steps:
- Open the ODBC Data Source Administrator on your Web server:
- In Windows 98, click Start, point to Settings, click Control Panel, and then open ODBC Data Sources (32 bit).
- In Windows 2000 and Windows NT, click Start, point to Settings, click Control Panel, click Administrative Tools, and then open ODBC Data Sources.
- In the Data Sources dialog box, click the System DSN tab.
- Click Add if you do not see the name of the System DSN that you used as the DSN in the export process.
- Click Microsoft Access Driver, and then click Finish.
NOTE: If Microsoft Access Driver does not appear, it needs to be installed on your Web server. - In the ODBC Microsoft Access Setup dialog box, type the requested information. The name that you type in the Data Source Name box is the name you will use in the Data Source Name box in the Export Table 'filename' As dialog box, where filename is the name of the table that you are exporting.
- Click OK to close the ODBC Microsoft Access Setup dialog box.
- Click OK in the ODBC Data Source Administrator dialog box.
If the DSN in the System DSN on your Web server is different than the one you used when you created your Web pages, return to the export process in Microsoft Access and recreate your Web pages using the correct DSN.
REFERENCESFor more information about Active Server Pages and HTX/IDC file formats, click Microsoft Access Help on the
Help menu, type dynamic html in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 1/26/2005 |
---|
Keywords: | kberrmsg kbprb kbusage KB208304 |
---|
|