Defining the Database connection
Previous  Top  Next

After you have copied the template site files into your site folder you will likely have to edit the path to the database, you can do this in one of two possible ways.

1.0pen the web.config file and edit the path manually  

2.Edit the defined connection (ConStr) using the Database tab in the Application group, this is recommended for developers with little experience when working with database connections, to do this double click the ConStr connection in the database pane of the application group and then click the "build..." button, the following dialog will appear:  

clip0063  
 
Select Microsoft Jet 4.0 OLE DB Provider as shown and then go to the Connection tab and browse to the database file as shown in the next dialog  
 
clip0064  
 
Then click ok and then click test in the Dreamweaver "MX OLE DB Connection" dialog, if the connection is made successfully you can move onto the next section of the walkthrough, if the connection fails the most likely reason will be insufficient permissions set on the database file and it's container folder for the IUSR_<ComputerName> user account, for specific instructions on how to set file permissions in Windows check your Windows help files.


Next: Adding Items to the cart