« Previous Next »

Answered Thread: ASP Pages using MySQL in IIS7

Last post 11-05-2009 4:28 AM by WenJun Zhang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 10-29-2009, 11:15 AM

    ASP Pages using MySQL in IIS7

    Hello,

     I am new to IIS 7 and have found a problem relating to displaying ASP pages, that reference MySQL db's

     The error on the homepage is

     error '80004005'

    /index.asp, line 8

    I have added the Network Service, IUSR and the IIS_ISURS group with full permissions to the website and have not had movement on from the error above.

    I have also changed the app pool to use the Network Service account, added DNS entries and also changed LoadUserProfile to false.

     Most of the above changes being taken from google searches earlier today.

     Should anyone have any advice on how to move forward with this, please let me know.

     Thank you.

     Brian.

  • 10-30-2009, 1:43 PM In reply to

    Re: ASP Pages using MySQL in IIS7

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

    Re: ASP Pages using MySQL in IIS7

    Jeff,

     Thank you for the link you posted. I have worked through this and unfortunately nothing helped.

     What I have found is that the line 8 refers to an asp file in a folder above the web root, thus I enabled parent paths. This didn't help.

     I also found that by commenting out the lines referring to the MySQL databases then showed me the asp page, all but without the database driven content.

     I have also ensured the application pool is running Classic ASP. Again the same error reappears.

     Any further advice is much appreciatted.

     Thank you.

    Brian

  • 11-05-2009, 4:28 AM In reply to

    Answered Re: ASP Pages using MySQL in IIS7

    Brian,

    This usually indicates some file permission is missing which leads to the access denied error. For exmaple, missing access permission on the system temp directory. Using tools like process monitor to track down the I/O of w3wp.exe (IIS worker process) should help you turn up where the missed permission is.

    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

    Thanks.

    WenJun Zhang - MSFT
    Sincerely
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (4 items)
Microsoft Communities