Hi Damien,

I have commerce site running on LAMP stack and I am importing it into SQL Server based drupal. I exported database dump using Portable database dump tool (http://drupal.org/sandbox/damz/1174672). I was able to import this dump successfully into Drupal running on SQL Server. ALl seems to work fine, but when I clicked on the "Configuration Tab", I got following error.

Fatal error: Class 'DatabaseTasks_sqlsrv' not found in C:\inetpub\wwwroot\drupalazure\modules\system\system.install on line 194

This class is surely available and configuration tab was working fine before importing dump. I fixed this issue temprarily by adding following line into modules\system\system.install file, just before setting database task class name, as shown bellow.

include_once DRUPAL_ROOT . '/includes/database/' . Database::getConnection()->driver() . '/install.inc';
$class = 'DatabaseTasks_' . Database::getConnection()->driver();

regards,
--
Satish

Comments

thorn’s picture

Version: 7.x-1.x-dev » 7.x-1.2

I can confirm the error, which I got after clearing the cache on my site.

The solution offered by Satish works, but must be seen as a fix for an error that lies somewhere else in the code.

wellsys_world’s picture

I've just had the same error when using DBTNG Migrator.

Any news on what may be causing this?

Thanks

dobe’s picture

Issue summary: View changes

I just got this as well using SQL Server Migration Assistant. I did notice that the module for sqlsrv wasn't enabled. Not sure if it matters.

-Jesse

avpaderno’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
beakerboy’s picture

Status: Active » Closed (won't fix)

The 7.x branch is unsupported