Message from discussion
Problems running Cakephp2.1.1 with SQL Server 2008
Date: Thu, 12 Apr 2012 10:57:09 -0700 (PDT)
From: euromark <dereurom...@googlemail.com>
To: cake-php@googlegroups.com
Message-ID: <17278065.324.1334253429303.JavaMail.geo-discussion-forums@ynht1>
In-Reply-To: <29811520.215.1334251627722.JavaMail.geo-discussion-forums@vbmq16>
References: <CADsnxaQGVGprAt9kr8XJ6sV2ZcXaVA11kZSEieOwdoS_cC7B2Q@mail.gmail.com>
<29811520.215.1334251627722.JavaMail.geo-discussion-forums@vbmq16>
Subject: Re: Problems running Cakephp2.1.1 with SQL Server 2008
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_322_10904013.1334253429301"
------=_Part_322_10904013.1334253429301
Content-Type: multipart/alternative;
boundary="----=_Part_323_23004191.1334253429301"
------=_Part_323_23004191.1334253429301
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
did you see my post from yesterday?
https://groups.google.com/forum/?fromgroups#!topic/cake-php/8y2Y511krEU
had the same issue, but on linux.
on windows I got it to run with the included SqlServer datasource (you need
to follow the instructions from microsoft)
http://msdn.microsoft.com/de-de/library/cc296170(v=sql.90).aspx
install the native client, put the dlls in its places and somehow it works
:)
don't make the same mistake I did and forget to install the SDK, as well
(if you are prompted for it, select everything).
for the linux version I still have to try the Mssql datasource from rchavik
Am Donnerstag, 12. April 2012 19:27:07 UTC+2 schrieb stork:
>
>
> 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.
>
------=_Part_323_23004191.1334253429301
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
did you see my post from yesterday?<div><a href=3D"https://groups.google.co=
m/forum/?fromgroups#!topic/cake-php/8y2Y511krEU">https://groups.google.com/=
forum/?fromgroups#!topic/cake-php/8y2Y511krEU</a> </div><div><br></div=
><div>had the same issue, but on linux.</div><div>on windows I got it to ru=
n with the included SqlServer datasource (you need to follow the instructio=
ns from microsoft)</div><div><a href=3D"http://msdn.microsoft.com/de-de/lib=
rary/cc296170(v=3Dsql.90).aspx">http://msdn.microsoft.com/de-de/library/cc2=
96170(v=3Dsql.90).aspx</a> </div><div>install the native client, put t=
he dlls in its places and somehow it works :)</div><div><br></div><div>don'=
t make the same mistake I did and forget to install the SDK, as well (if yo=
u are prompted for it, select everything).</div><div><br></div><div>for the=
linux version I still have to try the Mssql datasource from rchavik</=
div><div><br></div><div><br></div><div><br>Am Donnerstag, 12. April 2012 19=
:27:07 UTC+2 schrieb stork:<blockquote class=3D"gmail_quote" style=3D"margi=
n: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><br=
><blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">I also download and copied the fil=
es dbo_sqlsrv.php and DboSource.php<br><p>into my app/Model/Datasource fold=
er but I'm getting the follow error:</p></blockquote>1. file dbo_sqlsrv.php=
is for CakePHP 1.x, for 2.x you need this one<br>
<a href=3D"https://github.com/cakephp/datasources/blob/2.0/Model/Datasource=
/Database/Sqlsrv.php" target=3D"_blank">https://github.com/cakephp/<wbr>dat=
asources/blob/2.0/Model/<wbr>Datasource/Database/Sqlsrv.php</a><br>
<br>
2. You shouldn't need to use custom DboSource.php imho.<br></blockquote></d=
iv>
------=_Part_323_23004191.1334253429301--
------=_Part_322_10904013.1334253429301--