PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Driver PostgreSQL erro 10
Driver PostgreSQL erro 10
Started by Boller, Feb., 15 2024 7:32 PM - No answer
Connect yourself…
Boller
#1
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on February, 15 2024 - 7:32 PM
Boa tarde Pessoal,
Em meus suportes hoje me deparei com o erro 10 do Driver do PostgreSQL
Motivo
A aplicação estava em 32 bits
O banco em 64 bits e na versão 16
Solução
Criou no P, configuration
New configuration
Windows
64 bits
Solucionando o problema do Fabiano
E tudo deu certo
Ahhh
No caso da porta é diferente da padrão SEMPRE
ENTÃO
EXTEND INFO COLOCAR
Server Port=77777;
// Exemplo:
Conn_gpc..Provider = hNativeAccessPostgreSQL
Conn_gpc..Password = SenhaBanco
Conn_gpc..User = UserBanco
Conn_gpc..Server = EnderecoServer
Conn_gpc..Database = BancoDeDados
Conn_gpc..ExtendedInfo = "Server Port = "+ PortaBanco +";"
IF HOpenConnection(Conn_gpc) = False THEN
Error("Erro ao tentar conexão : " + UserBanco + CR + SenhaBanco + CR + EnderecoServer + CR + BancoDeDados + CR + HErrorInfo())
SL ("Erro conectando ao banco do Acesso ")
gbExecT5 = False
RETURN
ELSE
SL ("Conectou ao banco do Acesso ")
END
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text