FP98: Data Source Name Not Found Error When Previewing ASP Page
ID: Q181656
|
The information in this article applies to:
-
Microsoft FrontPage 98 for Windows
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.
MORE INFORMATION
For additional information, please see the following articles in the
Microsoft Knowledge Base:
Q175770 FP98: How to Post Information to a Database Using ASP
Q175771 FP98: How to Display Contents of a Database Using ASP
Q182122 How to Remove or Customize the "No Records Returned" Message
Additional query words:
front page
Keywords : kbdta fpedit fpactive fpodbc
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 27, 1999