Article ID: 120398, created on Mar 1, 2014, last review on May 8, 2014

  • Applies to:
  • Plesk 11.5 for Windows


After migration to a new server, a website with remote Microsoft SQL database cannot be opened in a browser with an error:

    The database could not be opened!
    Check your config.asp file and set the strConnString so it points to the database.  
    Also check if strDBType is set to the right databasetype.
    Code: 80004005
    Error Description:
    [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. Check your network documentation._


Config.asp file contains invalid IP mapping for the remote database server.


  1. Locate config.asp in the domain document root "%plesk_vhosts%\domain.tld\httpdocs".
  2. Open up the file for editing and find the string containing information on the remote database server IP. Example:

    strConnString = "Provider=sqloledb;
    Data Source=,1433;
    Network Library=DBMSSOCN;
    Initial Catalog=lotofus;
    User ID=login;
  3. Change the IP address to the proepr IP address of the database server.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 46a8e394d6fa13134808921036a34da8 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128

Email subscription for changes to this article
Save as PDF