DSN trouble

Results 1 to 2 of 2

Thread: DSN trouble

  1. #1
    Join Date
    Dec 1969

    Default DSN trouble

    It seems that a system DSN that I&#039ve created on a server is not working. The name used in my ASP file is correct<BR><BR>Set conn = Server.CreateObject("ADODB.Connection")<BR> conn.open "ExampleDatabase","",""<BR> Set Session("ExampleDatabase_conn") = conn<BR><BR>but I get a message saying that the provider couldn&#039t be found.<BR>What could be causing this message to appear.

  2. #2
    Mark Vick Guest

    Default RE: DSN trouble

    If the name of your System DSN is "ExampleDatabase" then try:<BR><BR>conn.Open "DSN=ExampleDatabase"<BR><BR>That should work!<BR><BR>Mark.Vick@hmrag.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts