Results 1 to 4 of 4

Thread: DNS, Driver...

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    40

    Red face

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    help!!!!!!!!!!!!


    Trying to make a DSN, can I do thid to a local file through control panel then ftp it to my remote server???


    Thanks,
    SG

  2. #2

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    40

    Angry my code getting the error...

    Set dbGlobalWeb = Server.CreateObject
    ("ADODB.Connection")
    dbGlobalWeb.Open ("Employees")
    --------------------------------
    I think this last line is getting the error.

  3. #3
    Guest
    Hi, i may not be able to help u with solid solution, but why dont u try creating a system DSN using the appropriate ODBC driver (remember different drivers for different databases! ). somehow this is just an idea. hope it will help you. sorry if it doesnt. all the best

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Maybe this...
    dbGlobalWeb.Open ("DSN=Employees")

    You are usually better off (for simplicity and performance reasons) to use a DSN-less connection string

    like this:
    dbGlobalWeb.Open "Provider=SQLOLEDB;Data Source=ServerName;UID=UserName;PWD=Password"


Posting Permissions

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



Click Here to Expand Forum to Full Width