Sorry, guys, you're right! I've limited the other params and it's ok!

Thanks!

Regards
Martin

-----Ursprüngliche Nachricht-----
Von: Jiri Cincura [mailto:disk...@cincura.net] 
Gesendet: Freitag, 19. November 2010 11:03
An: For users and developers of the Firebird .NET providers
Betreff: Re: [Firebird-net-provider] ADO.NET provider 2.6.0 for Firebird 
released

On Fri, Nov 19, 2010 at 10:44, Martin Turek <tur...@bury.com> wrote:
> Well, when I comment out param5 it runs without problems!

Looks like somewhere the parameter size or the value itself is longer.
The check there is:
string svalue = param.DbValue.GetString();
if ((param.Length % param.Charset.BytesPerCharacter) == 0 &&
        svalue.Length > param.CharCount)

Try to put there "string.Empty;"

-- 

Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com

------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to