Skip to Content.
Sympa Menu

freetds - Re: [freetds] location of config parameter?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <loic.cloatre AT orange.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] location of config parameter?
  • Date: Fri, 16 Dec 2011 11:18:28 +0100

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 : freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] De la part de James K. Lowden
Envoyé : vendredi 16 décembre 2011 03:51
À : freetds AT lists.ibiblio.org
Objet : Re: [freetds] location of config parameter?

On Thu, 15 Dec 2011 16:19:30 +0100
<loic.cloatre AT orange.com> 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
FreeTDS AT lists.ibiblio.org
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.





Archive powered by MHonArc 2.6.24.

Top of Page