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
Comment #1
thorn commentedI 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.
Comment #2
wellsys_world commentedI've just had the same error when using DBTNG Migrator.
Any news on what may be causing this?
Thanks
Comment #3
dobe commentedI 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
Comment #4
avpadernoComment #5
beakerboyThe 7.x branch is unsupported