ACC97: "Data Source Name Not Found" Error Opening Web Page (159682)
The information in this article applies to:
This article was previously published under Q159682
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
After you use the "Publish to the Web" Wizard to create Dynamic HTX/IDC or
Dynamic ASP (Microsoft Active Server Pages) file formats on your Web
server, you may receive the following error message when you try to view
those files with your Web browser:
Data source name not found and no default driver specified
The relative path and file name of the page you tried to open are displayed
beneath the error message.
CAUSE
You did not create a System DSN data source on the server, or your Web page
file contains an incorrect reference to the System DSN data source name.
RESOLUTION
Follow these steps on your Web server computer to add a new System DSN or
check the name of an existing data source:
- Double-click the ODBC icon in Control Panel on your Web Server.
- In the Data Sources dialog box, click System DSN.
- Click Add if you do not see the name of the System DSN you used as the
Data Source Name in the "Publish to the Web" Wizard.
- Select Microsoft Access Driver, and then click Finish.
NOTE: If the Microsoft Access Driver does not appear, it is not
installed on your Web server. For information about installing the
driver on your Web server, search the Help Index for "Microsoft Access
Desktop driver," or ask the Microsoft Access 97 Office Assistant.
- Complete the ODBC Microsoft Access 97 Setup dialog box. The name you
type in the Data Source Name box is the name you will use in the Data
Source Name box in the "Publish to the Web" Wizard.
- Click OK to close the ODBC Microsoft Access 97 Setup dialog box.
- Click OK in the ODBC Data Source Administrator dialog box.
- If the Data Source Name in the System DSN on your Web server is
different from the one you used when you created your web pages, start
the "Publish to the Web" Wizard in Microsoft Access and recreate your
web pages using the correct Data Source Name.
REFERENCES
For more information about Active Server Pages and HTX/IDC file formats,
search the Help Index for "dynamic HTML format," or ask the Microsoft
Access 97 Office Assistant.
Modification Type: | Minor | Last Reviewed: | 1/26/2005 |
---|
Keywords: | kberrmsg kbprb kbusage KB159682 |
---|
|