Dynamic Web Tutorials and Notes

Connect to Database - set up DSN-less Connection

Some servers require that you use a DSN-less connection. This is fairly simple to achieve.

  1. Open connTest.asp
  2. Click the 'Show Code View' button at the top left of the page
  3. You should see this code. This is the DSN connection you made in IV
  4. Change it to this, where TestSite is the name of your server folder

 

Valid CSS! . Valid XHTML 1.0 Strict . Level Triple-A conformance icon, 
          W3C-WAI Web Content Accessibility Guidelines 1.0 .