FP98: Data Source Name Not Found Error When Previewing ASP Page (181656)
The information in this article applies to:
- Microsoft FrontPage 98 for Windows
This article was previously published under Q181656 SYMPTOMS
When you preview a page that contains a database region, you may see the
following message in the Web browser:
Database Error: [Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified.
CAUSE
This behavior occurs when the system data source name (DSN) you specified in the database region does not exist. This message most often appears when you mistype the DSN name in the system DSN properties or in the Database Region Wizard.
RESOLUTION
To resolve this behavior, use one of the following methods:
Method 1: If you have not yet set up your system DSN
If you have not set up your system DSN, you must set it up. To do this, follow these steps:
- On the Windows Start menu, point to Settings, and then click
Control Panel.
- Double-click the 32bit ODBC icon (Windows 95) or the ODBC icon
(Windows NT).
- Click the System DSN tab.
- Click Add.
- Select the driver you want to use. For example, select "Microsoft
Access Driver (*.mdb)." Click Finish.
- In the Data Source Name box, type the name you specified in the
Database Region Wizard.
NOTE: The DSN name should not include any spaces.
- Click Select.
- Select the database file you want to use.
- Click OK three times.
Method 2: If you have already set up your system DSN
If you have already set up your system DSN, you must verify the name of the DSN and specify the DSN name in the database region. To do this, follow these steps:
- On the Windows Start menu, point to Settings, and then click
Control Panel.
- Double-click the 32bit ODBC icon (Windows 95) or the ODBC icon
(Windows NT).
- Click the System DSN tab.
- Note the name of your system DSN.
- Start or switch to FrontPage Editor and then open the page that contains
the database region.
- Right-click any of the database column values and then click Database
Region Properties on the menu that appears.
- Click Back.
- Type the name of the system DSN you noted in step 4 and then click
Finish.
Modification Type: | Major | Last Reviewed: | 12/1/2000 |
---|
Keywords: | kbprb KB181656 |
---|
|