To create a database connection with a remotely defined DSN:
Define a DSN on the remote system running your application server.
1
For instructions, see the following articles on the Microsoft website:
If the remote computer runs Windows 98, see Microsoft Knowledge Base Article 300595 at
http://support.microsoft.com/default.aspx?scid=kb;en-us;300595
If the remote computer runs Windows 2000, see Microsoft Knowledge Base Article 300596
at
http://support.microsoft.com/default.aspx?scid=kb;en-us;300596
If the remote computer runs Windows XP, see Microsoft Knowledge Base Article 305599 at
http://support.microsoft.com/default.aspx?scid=kb;en-us;305599
Open an ASP page in Dreamweaver, then open the Databases panel (Window > Databases).
2
Dreamweaver displays all the connections defined for the site.
Click the Plus (+) button on the panel and select Data Source Name (DSN) from the
3
pop-up menu.
The Data Source Name (DSN) dialog box appears.
Enter a name for the new connection.
4
Note: Do not use any spaces or special characters in the name.
Select the Using DSN on Testing Server option at the bottom of the dialog box.
5
Macintosh users can ignore this step because all database connections use DSNs on the
application server.
Enter the DSN.
6
You can click the DSN button to connect to the server and select from the DSNs defined on it.
If required, complete the User Name and Password text boxes.
7
If you want, restrict the number of database items Dreamweaver retrieves at design time by
8
clicking Advanced and entering a schema or catalog name.
For more information, see
on page
506.
Note: You cannot create a schema or catalog in Microsoft Access.
Click Test.
9
Dreamweaver attempts to connect to the database. If the connection fails, double-check the
DSN. If the connection still fails, check the settings for the folder Dreamweaver uses to process
dynamic pages (see
Click OK.
10
The new connection appears in the Databases panel.
Related topics
•
"Creating a connection using a local DSN" on page 471
•
Chapter 29, "Troubleshooting Database Connections," on page 489
"Restricting database information displayed in Dreamweaver"
"Specifying where dynamic pages can be processed" on page
461).
Creating a DSN connection
473
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers