Hi Stork,

I replaced the dbo_sqlsrv.php by Sqlsrv.php into
app/models/datasources and I also replace the database.php settings :

from

        public $default = array(
                'datasource' => 'dbo_sqlserver',

to

        public $default = array(
                'datasource' => 'Database/Sqlserver',

and it is working fine now ;-)

Thank you very much

On Thu, Apr 12, 2012 at 2:27 PM, stork <lubomir.st...@gmail.com> wrote:
>
>> I also download and copied the files dbo_sqlsrv.php and DboSource.php
>>
>> into my app/Model/Datasource folder but I'm getting the follow error:
>
> 1. file dbo_sqlsrv.php is for CakePHP 1.x, for 2.x you need this one
> https://github.com/cakephp/datasources/blob/2.0/Model/Datasource/Database/Sqlsrv.php
>
> 2. You shouldn't need to use custom DboSource.php imho.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php



-- 
Best Regards,
Felipe Roman
Phone 55 51 8454 8110
LinkedIn http://au.linkedin.com/in/feliperoman

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to