« Previous Next »

Answered Thread: error '80004005', MySQL and DNSless connections

Last post 04-25-2008 11:48 AM by Paul Brocklebank. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 04-24-2008, 9:18 AM

    error '80004005', MySQL and DNSless connections

    Hi,

    I've recently upgraded to Vista Ultimate 32bit and I'm having problems with my database connections.

    When I try to connect to a MySQL database using the connection string I used (and functioned) on IIS 5.1 in XP I get the following error.

    error '80004005'

    /newstest.asp, line 8

    Line 8 being - rsNews.ActiveConnection = MM_connEdit_STRING

    The include file I use is

    Dim MM_connEdit_STRING
    MM_connEdit_STRING = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=editable;UID=xxxx;PWD=xxxx;OPTION=3;"

    I'm aware that this is a fairly common error and is almost certainly due to permissions but I have made the changes found at http://blogs.iis.net/bills/archive/2006/10/18/loadUserProfile-and-IIS7-_2D00_-understanding-temporary-directory-failures.aspx and they haven't resolved the issue.

    However, if I create a DNS everything functions correctly and I can read from the database with no difficulty.

    Now I'm pretty new at this and my knowledge is rather lacking but why would a DNS connection work and a Connection String fail when they both use the same ODBC driver?

    Thanks in advance for any advice.

  • 04-24-2008, 4:20 PM In reply to

    Answered Re: error '80004005', MySQL and DNSless connections

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 04-25-2008, 11:48 AM In reply to

    Re: error '80004005', MySQL and DNSless connections

    Thanks for the info.

    I did skim through that article without finding anything especially useful, but I shall have a more thorough look. Just a shame that MySQL isn't going to be specifically covered until the forthcoming update.

Page 1 of 1 (3 items)
Microsoft Communities