Re: location of config parameter?

<[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <31974_1324030713_4EEB1AF9_31974_57796_1_B9E516E31D2C924DB7933D867565C07E0DDDBC2D2B@PUEXCB2C.nanterre.francetelecom.fr>
Hello,

I am using version 5.0 for linux.

I try to configure version 7.0, 
./configure --prefix=/DEV_testLoic/freetds-0.91 --enable-sybase-compat --with-tdsver=7.0

but when I start my apache I get an error:

[Fri Dec 16 10:55:15 2011] [error] (20014)Internal error: DBD: Can't connect to freetds:

-->I see on http://www.freetds.org/userguide/choosingtdsprotocol.htm
Version 7.0 is for Microsoft SQL Server 7.0

I try also version 4.2: same error
dbutil.c:84:msgno 103: "The identifier that starts with '@ID_SERVICEPROVIDER_FONCTIONNE' is too long. Maximum length is 30.

loic

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de James K. Lowden
Envoyé : vendredi 16 décembre 2011 03:51
À : [email protected]
Objet : Re: [freetds] location of config parameter?

On Thu, 15 Dec 2011 16:19:30 +0100
<[email protected]> wrote:

> I see it in my log file:
> dblib.c:1454:dbcmd(0xc71780, exec creerFede
> @LOGIN='3D1HfSkzgRZva_uT_TheSg==',
> @ID_SERVICEPROVIDER_TECHNIQUE='http://ts_saml2.msp.gouv.fr',
> @ID_SERVICEPROVIDER_FONCTIONNEL='http://ts_saml2.msp.gouv.fr',
> @ID_TYPE_FEDERATION=1)
> 
> I get an error in answer:
> dbutil.c:86:msgno 103: "The identifier that starts with
> '@ID_SERVICEPROVIDER_FONCTIONNE' is too long. Maximum length is 30."
> 
> Does anyone know where to configure the size of this parameter?
> I am using free-tds-dev0.92.

What version of TDS are you using?  My TDS 7.0 connection lets me use
long parameter names in stored procedures.  I changed the parameter
in src/dblib/unittests/rpc.c  from "@c" to
"@c_this_name_is_way_more_than_thirty_characters_charlie", and the
program still works.   

--jkl
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorization.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange shall not be liable if this message was modified, changed or falsified.
Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.