PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Install Driver Nativo MSSQL Server
Install Driver Nativo MSSQL Server
Iniciado por adrianoboller, 11,dic. 2014 13:29 - 2 respuestas
Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 11,diciembre 2014 - 13:29
Install Driver Nativo MSSQL Server

Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 23,abril 2016 - 01:03
Prezados,

Para usar outra porta, não a padrão:

Se informar o IP + “,” + Porta (com vírgula) funciona.

Porem, se informar a porta não é possivel informar a instância do MSSQLSERVER:









Tentando informar a instância:

Ser informar a porta correta é possivel informar QUALQUER COISA na instância que não acusa erro de conexão:





Ou seja, use vírgula para definir a nova porta diferente da padrão, ok

:merci:

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.blogspot.com.br/
Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 10,agosto 2017 - 22:09
Detalhes a serem observados:

NextTitle("Atenção")
ok1, ok2, ok3, ok4, ok5, ok6, ok7, ok8, LoginOK is boolean

//Chumbado
sGsPaginaInicial is string = "PAGE_Logado"
nReturnedValue is int = 0

gpwUser is Data Source <------------------------------- nao pode ter esse nome na analise igual deve ser diferente
CNT_GPW is Connection
CNT_GPW..Provider = hNativeAccessSQLServer
CNT_GPW..User = "integracao-wd"
CNT_GPW..Password = "4s31nt!360"
CNT_GPW..Source = "192.168.0.217\360"
CNT_GPW..Database = "360_catalogo" //conectar primeiro no catalogo
CNT_GPW..CryptMethod = hCryptNo


// Open the connection
ok1 = gpwOpenConnection(CNT_GPW)

ok2 = HOpenConnection(CNT_GPW)
IF ok2 = False THEN
Info(ErrorOccurred() +" - "+ HErrorInfo())
END

ok3 = HChangeConnection(gpwUser,CNT_GPW)

IF ErrorInfo() > 0 OR ok3 = False
Error(HErrorInfo() + CR + ErrorInfo())
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/