Microsoft KB Archive/181656

= FP98: Data Source Name Not Found Error When Previewing ASP Page =

Article ID: 181656

Article Last Modified on 12/1/2000

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



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:
 * 1) On the Windows Start menu, point to Settings, and then click Control Panel.
 * 2) Double-click the 32bit ODBC icon (Windows 95) or the ODBC icon (Windows NT).
 * 3) Click the System DSN tab.
 * 4) Click Add.
 * 5) Select the driver you want to use. For example, select "Microsoft Access Driver (*.mdb)." Click Finish.
 * 6) 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.
 * 1) Click Select.
 * 2) Select the database file you want to use.
 * 3) 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:
 * 1) On the Windows Start menu, point to Settings, and then click Control Panel.
 * 2) Double-click the 32bit ODBC icon (Windows 95) or the ODBC icon (Windows NT).
 * 3) Click the System DSN tab.
 * 4) Note the name of your system DSN.
 * 5) Start or switch to FrontPage Editor and then open the page that contains the database region.
 * 6) Right-click any of the database column values and then click Database Region Properties on the menu that appears.
 * 7) Click Back.
 * 8) 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:

175770 FP98: How to Post Information to a Database Using ASP

175771 FP98: How to Display Contents of a Database Using ASP

182122 How to Remove or Customize the "No Records Returned" Message

Additional query words: front page

Keywords: kbprb KB181656

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.