Fórum Firebird DbExpress D2006 não conecta #337104
01/02/2007
0
Minha conexão do firebird no D2005 conecta normal.
Instalei o D2006 e quando tento conectar está dando erro no CharSet. Estou utilizando o driver do Interbase.
Alguem sabe o que é?
Obrigado
Yallebr
Curtir tópico
+ 0Posts
01/02/2007
Yallebr
Se eu compilar o programa no D2005 o programa funciona ok.
Quando compilado em D2006 ele já dá o erro de ServerCharSet.
Meu ServerCharSet é Win1252
Gostei + 0
01/02/2007
Yallebr
Gostei + 0
01/02/2007
Yallebr
Detalhando mais o problema.
Database Server Error: bad parameters on attach or create database - CHARACTER SET W is not defined.
Gostei + 0
02/02/2007
Brunolspp
lembre-se de configurar td de novo no sqlconection
e colocar na propriedade vendorlib o fbclient.dll
Gostei + 0
03/02/2007
Yallebr
Gostei + 0
30/03/2007
Alansvieceli
Database Server Error: bad parameters on attach or create database - CHARACTER SET W is not defined
nenhum das soluções q eu achei no forum me ajudou..se alguem puder me dar uma força...
conecto assim
SQLConnection1.Close; SQLConnection1.ConnectionName := ´trfpar´; SQLConnection1.DriverName := ´Interbase´; SQLConnection1.GetDriverFunc := ´getSQLDriverINTERBASE´; SQLConnection1.LibraryName := ´dbexpint.dll´; SQLConnection1.VendorLib := ´gds32.dll´; SQLConnection1.LoginPrompt := false; SQLConnection1.Params.Clear; // Alan 20070327 - ini SQLConnection1.Params.Add(´DriverName=Interbase´); SQLConnection1.Params.Add(´Database=C:\Bdados\BANCO.ib´); SQLConnection1.Params.Add(´RoleName=RoleName´); SQLConnection1.Params.Add(´User_Name=SYSDBA´); SQLConnection1.Params.Add(´Password=masterkey´); SQLConnection1.Params.Add(´ServerCharSet=WIN1252´); SQLConnection1.Params.Add(´SQLDialect=1´); SQLConnection1.Params.Add(´BlobSize=-1´); SQLConnection1.Params.Add(´CommitRetain=False´); SQLConnection1.Params.Add(´WaitOnLocks=False´); SQLConnection1.Params.Add(´ErrorResourceFile=´); SQLConnection1.Params.Add(´LocaleCode=0000´); SQLConnection1.Params.Add(´Interbase TransIsolation=ReadCommited´); SQLConnection1.Params.Add(´Trim Char=False´); SQLConnection1.Open; if SQLConnection1.Connected then ShowMessage(´A´) else ShowMessage(´B´);
Gostei + 0
30/03/2007
Luciano.sul
SQLConnection1.LibraryName := ´dbexpint.dll´; PARA D2005
Para:
SQLConnection1.LibraryName := ´dbxint30.dll´; PARA D2006
Ok?
Gostei + 0
11/04/2007
Mula
e para Delphi 6.0?
Gostei + 0
11/04/2007
Adriano Santos
tb
Gostei + 0
11/04/2007
Mula
tb[/quote:b183f081e5]
ok obrigado!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)