I successfully installed Drupal 7.14 on Windows with IIS and SQL Server. I did this using the Web Platform Installer 4.5. I went to upgrade to Drupal 7.22 Core following the instructions from https://drupal.org/node/1494290

When I go to the site after the upgrade I get a 500 error from IIS. In the PHP Error log I see:

PHP Fatal error:  require_once(): Failed opening required 'C:\inetpub\wwwroot\drupal7/includes/database/sqlsrv/database.inc' (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\drupal7\includes\database\database.inc on line 1685

When I look in the includes/database directory, there is no "sqlsrv" folder. Which I think explains the error.

Am I missing something?

Are there SqlServer updates between 7.14 and 7.22 to be applied? The original 7.14 installation does have a includes\database\sqlsrv directory. I just don't see it in the upgrade files.

Any suggestions?


michaelplevy’s picture

Get the latest SQL Server Driver from http://drupal.org/project/sqlsrv and follow the installation instructions. The current installation instructions at https://drupal.org/node/1207972 say:

Uncompress Drupal in the web root. Uncompress this driver as sites/all/modules/sqlsrv, and copy or link the sqlsrv directory found inside it in includes/databases.

michaelplevy’s picture

And, another approach that worked even better is to use the 7.22 Upgrade package from Acquia Drupal. This includes SqlServer driver and seems to avoid some other minor issues I ran into.