CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Problem connecting to DB using DW

  1. #1
    Join Date
    Nov 2004
    Posts
    1

    Unhappy Problem connecting to DB using DW

    I am using a DSN connection created using Dreamweaver and an ASP page. The connection works fine on the local computer (i click the "test" button) but when I upload the files to my server I get the following error:

    "Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

    /mkoenig/survey.asp, line 120

    "

    and the line that it is referring to:

    MM_editCmd.ActiveConnection = MM_editConnection

    my editConnection is set to QUERY which is a DSN variable pointing to the database on my hdd. Any help?

  2. #2
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Re: Problem connecting to DB using DW

    Did you create the DSN on the server as well ?
    the error message shows that the server does not have the QUERY DSN !!
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)