Articles in this section

ASP.NET website hosted in Plesk does not load with a 500 error: The specified DSN contains an architecture mismatch between the Driver and Application

Plesk for Windows kb: technical

Applicable to:

  • Plesk for Windows

Symptoms

  • When accessing a website page in a web browser, it fails to load with one of the following error messages:

    PLESK_INFO: 500 Internal Server Error

    PLESK_INFO: An error occurred on the server when processing the URL. Please contact the system administrator.
    If you are the system administrator please click here to find out more about this error.

    PLESK_INFO: ADODB.Connection error '800a0e7a'
    The specified provider could not be found. It may not be installed correctly.

  • Failed Request Tracing, configured to catch 500 error codes, reports the following error message: 

    PLESK_INFO: Error    ASP_LOG_ERROR
    LineNumber    14
    ErrorCode    80004005
    Description    [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

Cause

Architecture mismatch (x64 / x86) between the SQL ODBC driver and the website code.

Resolution

  1. Log in to Plesk.
  2. Go to Domains > example.com > Hosting & DNS tab > Dedicated IIS Application Pool for Website.
  3. Check Enable 32-bit applications option.
  4. Apply the changes.

     

     

Other possible solutions:

  • If the issue persists, navigate to Tools & Settings > IIS Application Pool page, enable Enable 32-bit applications option and press OK button.
  • Download and install 32-bit version of Microsoft Access Database Engine package on the Windows server available at:
  • Verify that driver connection string in .asp file is:

    {Microsoft Access Driver (*.mdb, *.accdb)}

Was this article helpful?

Comments

1 comment
Date Votes
  • I can not get the repair kit to load./

    0

Please sign in to leave a comment.