|
FORUMS PROFESSIONNELS WINDEV, WEBDEV et WINDEV Mobile |
| | | | | |
WX - Driver Oracle - Manual de instalação |
Débuté par BOLLER, 03 déc. 2019 13:03 - 11 réponses |
| |
| | | |
|
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 03 décembre 2019 - 13:03 |
Bom dia Prezados Amigos(as)
Segue abaixo os passos para instalar o Driver Oracle no Windev, Webdev. Lembro que esses passos valem também para os driver do Mysql, Postgresql, MS Sql Server.... Seguindo esses passos não terá problemas:
a) Instalar o Windev ou Webdev (no caso do Windev Mobile ele usa apenas SQL Lite e Hfsql Cliente/Server e Hfsql Classic)
b) Instale na sequencia o Driver baixado do site da PCSOFT ou do link do email encaminhado pelo Distribuidor Oficial da Ferramenta, descompacte, execute o instalador e informe o serial caso seja necessário. Praticamente só dar next até o final.
c) No caso dos drivers Mysql, Postgresql e Mariadb eles se encontram no repositorio nos seguintes links:
https://repository.windev.com/resource.awp…
https://repository.windev.com/resource.awp…
https://repository.windev.com/resource.awp…
Nós recomendamos os banco de dados Postgresql devido a grande quantidade de comandos e por ser muito equivalente ao banco de dados Oracle.
Nos links acima tem as bibliotecas .lib que sao copiadas para:
C\Windows\System32 C:\Windows\SysWOW64
As dlls do drivers devem estar acessíveis pelo Path do Windows
OBS.: Os drivers devem ser instalados logo após a instalação Full antes de fazer upgrades da ferramentas para o drivers ser reconhecido. É algo que já pedi via chamado para o suporte da PCSOFT permitir instalar o Driver em qualquer momento espero que isso esteja resolvido nas próximas versões.
d) Alguns drivers como o do Ms SQL Server, Oracle... é necessário TAMBÉM instalar o CLIENT do banco fornecido pelo fornecedor em seus respectivos sites. EX.: ClientOracle11g(64bits) e outro detalhe importante o Windev deve ser 64 bits e o driver também deve ser 64 bits. Caso esteja diferente não funciona.
e) No Caso de dar o erro abaixo é importante remover o client e instalar o client e o driver novamente.

f) É importante verificar as portas do Firewall e Proxy e liberar elas para os bancos de dados funcionarem na rede. Se tiver dúvidas de como fazer entre em contato conosco.
g) Validar as versões e o sistema se é 32 ou 64 bits e na dúvida abrir um chamado.
h) Para funcionar o driver nativo é importante ter o TNS_Name.ora e seu projeto adequado a versão 32 ou 64 bits que voce instalou, juntamente instalado o driver client da Oracle, diferente nao funciona, ok
Verificar nele qual é o SID pois ele será o Host da conection, em nenhum momento no Windev voce vai apontar o ip e porta do servidor, será baseado sempre a conection no TNS_Name.ora e sobre o SID que é o responsável pela conexão.
Exemplo de linha do TNS_name.ora
treina = (Description=(ADDRESS_LIST=(Address=(PROTOCOL=TCP) (Host=192.168.1.1)(Port=10110))) (CONNECT_DATA=(SID=infohome)))
He get SID, not get name. Need to inform that the driver uses TNS-Name only the SID infohome, not the name treina!!!!
ex = "infohome" is Host in connection
EM EXTEND INFORMATION
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
i) EXEMPLO DE USO DE UMA PROCEDURE DO BANCO DE DAODS SENDO CHAMADA PELO WINDEV/WEBDEV
Function F_GETSEQ(T001_Customer) //------------FUNCTION ORACLE ---------------------- create or replace function F_GETSEQ(tabName varchar2)
return number is
ret_val number :=0;
begin
execute immediate 'select SEQ_'||tabName||'.nextval as vlr_seq from dual' into ret_val;
return ret_val;
end;
//---------WINDEV PROCEDURE GLOBAL---------- PROCEDURE GET_SEQ(pSeqName)
ds_query is Data Source query is string = "SELECT F_GETSEQ('"+pSeqName+"') AS SEQ_VLR FROM DUAL" nIsseq is 8-byte int
IF HExecuteSQLQuery(ds_query,CONN_INFOTST,hQueryDefault+hQueryWithoutCorrection,query) = True THEN
FOR EACH ds_query nIsseq = ds_query.SEQ_VLR END
END
RESULT nIsseq
//---------USE GET SEQ IN CODES
USE:
T001_Customer.ID = GETSEQ(T001_Customer) // <-------------- AQUI
IF HAdd(T001_Customer,hForceIdAuto) = True THEN ToastDisplay("Gravou com sucesso") ELSE INFO(ERRORINFO()) END
j) Links importantes
https://help.windev.com/en-US/?5513007&name=Native_Oracle_Access___Limitations
https://help.windev.com/en-US/?5513006&name=Oracle_Programming_Hyper_File_functions
https://help.windev.com/en-US/?5513002&name=Oracle_Programming_SQL_functions
https://help.windev.com/en-US/?5513021&name=Native_Oracle_Access_License
https://help.windev.com/en-US/?5513011&name=Overview_WDOracle
https://help.windev.com/en-US/?5513009&name=Running_the_same_query_several_times
https://help.windev.com/en-US/?5513008&name=Retrieving_output_value_procedure_run_on_server
https://help.windev.com/en-US/?5513001&name=Configuring_the_connection_with_WDORAINS
ESPERO QUE ESSE POST SEJA IMPORTE PARA SEUS PROJETOS!
Contribua aqui abaixo caso tenha outros erros não documentados.
JUNTOS SOMOS MAIS FORTES!
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 03 décembre 2019 - 13:28 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 03 décembre 2019 - 13:20 |
Good morning Dear Friends
Below are the steps to install the Oracle Driver on Windev, Webdev. I remember that these steps also apply to the drivers of Mysql, Postgresql, MS Sql Server .... Following these steps will have no problems:
a) Install Windev or Webdev (Windev Mobile only uses SQL Lite and Hfsql Client / Server and Hfsql Classic)
b) Install in sequence the Driver downloaded from the PCSOFT website or the email link sent by the Official Distributor of the Tool, unzip, run the installer and enter the serial if necessary. Just about to give next until the end.
c) In the case of the Mysql, Postgresql and Mariadb drivers they are in the repository at the following links:
https://repository.windev.com/resource.awp… Biblioteca-lib-postgresql
https://repository.windev.com/resource.awp…
https://repository.windev.com/resource.awp…
We recommend Postgresql databases because of the large number of commands and because they are very equivalent to the Oracle database.
The links above have the .lib libraries that are copied to:
C \ Windows \ System32 C: \ Windows \ SysWOW64
Driver dlls must be accessible through Windows Path
NOTE: Drivers must be installed shortly after Full installation before upgrading tools to recognize drivers. This is something I have already asked via PCSOFT support call to allow installing the driver at any time hopefully this will be resolved in future releases.
d) Some drivers like Ms SQL Server, Oracle ... you MUST also install the bank CLIENT provided by the vendor on their respective sites. EX: ClientOracle11g (64bits) and another important detail Windev must be 64 bits and the driver must also be 64 bits. If it is different does not work.
e) In case of giving the error below it is important to remove the client and install the client and driver again.

f) It is important to check Firewall and Proxy ports and release them for databases to work on the network. If you have questions on how to do this please contact us.
g) Validate the versions and the system if it is 32 or 64 bits and in doubt open a ticket.
h) To work the native driver it is important to have TNS_Name.ora and your project suitable to 32 or 64 bit version that you installed, together installed the Oracle client driver, different does not work, ok
Verify what is the SID because it will be the host of the connection, at no time in Windev you will point the ip and port of the server, will always be based on the connection in TNS_Name.ora and on the SID that is responsible for the connection.
TNS_name.ora Line Example
trains = (Description = (ADDRESS_LIST = (Address = (PROTOCOL = TCP)) (Host = 192.168.1.1) (Port = 10110))) (CONNECT_DATA = (SID = infohome)))
He get SID, not get name. Need to inform that the driver uses TNS-Name only the SID infohome, not the name trains !!!!
ex = "infohome" is Host in connection
EM EXTEND INFORMATION
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
i) EXAMPLE USING A DAODS BANK PROCEDURE BEING CALLED BY WINDEV / WEBDEV
Function F_GETSEQ (T001_Customer) // ------------ FUNCTION ORACLE ---------------------- create or replace function F_GETSEQ (tabName varchar2)
return number is
ret_val number: = 0;
begin
execute immediate 'select SEQ_' || tabName || '.nextval as vlr_seq from dual' into ret_val;
return ret_val;
end;
// --------- WINDEV PROCEDURE GLOBAL ---------- PROCEDURE GET_SEQ (pSeqName)
ds_query is Data Source query is string = "SELECT F_GETSEQ ('" + pSeqName + "') AS SEQ_VLR FROM DUAL" nIsseq is 8-byte int
IF HExecuteSQLQuery (ds_query, CONN_INFOTST, hQueryDefault + hQueryWithoutCorrection, query) = True THEN
FOR EACH ds_query nIsseq = ds_query.SEQ_VLR END
END
RESULT nIsseq
// --------- USE GET SEQ IN CODES
USE:
T001_Customer.ID = GETSEQ (T001_Customer) // <-------------- HERE
IF HAdd (T001_Customer, hForceIdAuto) = True THEN ToastDisplay ("Recorded Successfully") ELSE INFO (ERRORINFO ()) END
j) Important links
[code: xml] https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/… [/ code]
I hope this post is important to your projects!
Contribute here below if you have other undocumented errors.
TOGETHER WE ARE STRONGER!
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 03 décembre 2019 - 13:28 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 03 décembre 2019 - 13:21 |
Buenos dias queridos amigos
A continuación se detallan los pasos para instalar el controlador de Oracle en Windev, Webdev. Recuerdo que estos pasos también se aplican a los controladores de Mysql, Postgresql, MS Sql Server ... Seguir estos pasos no tendrá problemas:
a) Instalar Windev o Webdev (Windev Mobile solo usa SQL Lite y Hfsql Client / Server y Hfsql Classic)
b) Luego instale el controlador descargado del sitio web de PCSOFT o el enlace de correo electrónico enviado por el distribuidor oficial de la herramienta, descomprímalo, ejecute el instalador e ingrese el número de serie si es necesario. A punto de dar el próximo hasta el final.
c) En el caso de los controladores Mysql, Postgresql y Mariadb, se encuentran en el repositorio en los siguientes enlaces:
https://repository.windev.com/resource.awp… Biblioteca-lib-postgresql
https://repository.windev.com/resource.awp…
https://repository.windev.com/resource.awp…
Recomendamos bases de datos Postgresql debido a la gran cantidad de comandos y porque son muy equivalentes a la base de datos Oracle.
Los enlaces anteriores tienen las bibliotecas .lib que se copian en:
C \ Windows \ System32 C: \ Windows \ SysWOW64
Los controladores DLL deben ser accesibles a través de la ruta de Windows
NOTA: los controladores deben instalarse poco después de la instalación completa antes de actualizar las herramientas para reconocer los controladores. Esto es algo que ya he pedido a través de la llamada de soporte de PCSOFT para permitir la instalación del controlador en cualquier momento, espero que esto se resuelva en futuras versiones.
d) Algunos controladores como MS SQL Server, Oracle ... también DEBE instalar el CLIENTE bancario proporcionado por el proveedor en sus respectivos sitios. EJ: ClientOracle11g (64 bits) y otro detalle importante Windev debe tener 64 bits y el controlador también debe tener 64 bits. Si es diferente no funciona.
e) En caso de dar el siguiente error, es importante eliminar el cliente e instalar el cliente y el controlador nuevamente.

f) Es importante verificar los puertos de Firewall y Proxy y liberarlos para que las bases de datos funcionen en la red. Si tiene preguntas sobre cómo hacerlo, contáctenos.
g) Valide las versiones y el sistema si es de 32 o 64 bits y, en caso de duda, abra un ticket.
h) Para trabajar con el controlador nativo, es importante tener TNS_Name.ora y su proyecto adecuados para la versión de 32 o 64 bits que instaló, juntos instalaron el controlador de cliente Oracle, diferente no funciona, ok
Verifique cuál es el SID porque será el host de la conexión, en ningún momento en Windev apuntará la ip y el puerto del servidor, siempre se basará en la conexión en TNS_Name.ora y en el SID que es responsable de la conexión.
TNS_name.ora Ejemplo de línea
trenes = (Descripción = (ADDRESS_LIST = (Dirección = (PROTOCOLO = TCP)) (Host = 192.168.1.1) (Puerto = 10110))) (CONNECT_DATA = (SID = infohome)))
Él tiene SID, no recibe el nombre. ¡¡¡Necesito informar que el conductor usa TNS-Name solo en el infohome SID, no el nombre entrena !!!!
ex = "infohome" es el host en conexión
EM EXTEND INFORMATION
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
i) EJEMPLO UTILIZANDO UN PROCEDIMIENTO DEL BANCO DAODS LLAMADO POR WINDEV / WEBDEV
Función F_GETSEQ (T001_Customer) // ------------ FUNCION ORACULO ---------------------- crear o reemplazar la función F_GETSEQ (tabName varchar2)
número de retorno es
número de ret_val: = 0;
comenzar
ejecute inmediatamente 'select SEQ_' || tabName || '.nextval como vlr_seq de dual' a ret_val;
return ret_val;
fin
// --------- PROCEDIMIENTO WINDEV GLOBAL ---------- PROCEDIMIENTO GET_SEQ (pSeqName)
ds_query es fuente de datos query is string = "SELECT F_GETSEQ ('" + pSeqName + "') AS SEQ_VLR FROM DUAL" nIsseq es int 8 bytes
IF HExecuteSQLQuery (ds_query, CONN_INFOTST, hQueryDefault + hQueryWithoutCorrection, query) = True THEN
PARA CADA ds_query nIsseq = ds_query.SEQ_VLR FIN
FIN
RESULTADO nIsseq
// --------- USE GET SEQ EN CODIGOS
USO:
T001_Customer.ID = GETSEQ (T001_Customer) // <-------------- AQUÍ
IF HAdd (T001_Customer, hForceIdAuto) = True ENTONCES ToastDisplay ("Grabado con éxito") Más INFORMACIÓN (ERRORINFO ()) FIN
j) Enlaces importantes
[código: xml] https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/… [/ código]
¡Espero que este post sea importante para tus proyectos!
Contribuya aquí a continuación si tiene otros errores no documentados.
¡JUNTOS SOMOS MÁS FUERTES!
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 03 décembre 2019 - 13:29 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 03 décembre 2019 - 13:21 |
Bonjour chers amis
Vous trouverez ci-dessous les étapes à suivre pour installer le pilote Oracle sur Windev, Webdev. Je me souviens que ces étapes s'appliquent également aux pilotes de Mysql, Postgresql, MS Sql Server .... Les étapes suivantes ne poseront aucun problème:
a) Installer Windev ou Webdev (Windev Mobile utilise uniquement SQL Lite, Hfsql Client / Server et Hfsql Classic)
b) Ensuite, installez le pilote téléchargé sur le site Web PCSOFT ou le lien de courrier électronique envoyé par le distributeur officiel de l'outil, décompressez-le, lancez le programme d'installation et entrez le numéro de série si nécessaire. Sur le point de donner à côté jusqu'à la fin.
c) Dans le cas des pilotes Mysql, Postgresql et Mariadb, ils se trouvent dans le référentiel aux liens suivants:
https://repository.windev.com/resource.awp… Biblioteca-lib-postgresql
https://repository.windev.com/resource.awp…
https://repository.windev.com/resource.awp…
Nous recommandons les bases de données Postgresql en raison du grand nombre de commandes et parce qu'elles sont très équivalentes à la base de données Oracle.
Les liens ci-dessus ont les bibliothèques .lib qui sont copiées dans:
C \ Windows \ System32 C: \ Windows \ SysWOW64
Les dll de pilotes doivent être accessibles via le chemin Windows
REMARQUE: Les pilotes doivent être installés peu de temps après l'installation complète avant la mise à niveau des outils pour les reconnaître. C’est quelque chose que j’ai déjà demandé via l’appel d’assistance PCSOFT pour permettre l’installation du pilote à tout moment, espérons que cela sera résolu dans les prochaines versions.
d) Certains pilotes tels que Ms SQL Server, Oracle ... vous DEVEZ également installer la banque CLIENT fournie par le fournisseur sur leurs sites respectifs. EX: ClientOracle11g (64bits) et un autre détail important, Windev doit être de 64 bits et le pilote doit également être de 64 bits. Si c'est différent ne fonctionne pas.
e) En cas d'erreur ci-dessous, il est important de supprimer le client et de réinstaller le client et le pilote.

f) Il est important de vérifier les ports de pare-feu et de proxy et de les libérer pour que les bases de données fonctionnent sur le réseau. Si vous avez des questions sur la façon de procéder, contactez-nous.
g) Validez les versions et le système s'il s'agit de 32 ou 64 bits et en cas de doute ouvrez un ticket.
h) Pour utiliser le pilote natif, il est important que TNS_Name.ora et votre projet soient compatibles avec la version 32 ou 64 bits que vous avez installée, ainsi que le pilote client Oracle installé. Différent ne fonctionne pas, ok
Vérifiez dessus quel est le SID car ce sera l'hôte de la connexion, à aucun moment dans Windev vous ne pointerez l'adresse IP et le port du serveur, ne seront toujours basés sur la connexion dans TNS_Name.ora et sur le SID responsable de la connexion.
Exemple de ligne TNS_name.ora
trains = (Description = (ADDRESS_LIST = (Address = (PROTOCOL = TCP)) (hôte = 192.168.1.1) (port = 10110))) (CONNECT_DATA = (SID = infohome)))
Il obtient le SID, pas le nom. Besoin d'informer que le pilote utilise TNS-Name uniquement le SID infohome, pas le nom trains !!!!
ex = "infohome" est l'hôte en connexion
EM EXTEND INFORMATION
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
i) EXEMPLE D'UTILISATION D'UNE PROCÉDURE DAODS BANK APPELÉE PAR WINDEV / WEBDEV
Fonction F_GETSEQ (T001_Client) // ------------ ORACLE DE LA FONCTION ---------------------- créer ou remplacer la fonction F_GETSEQ (tabName varchar2)
numéro de retour est
nombre ret_val: = 0;
commencer
exécutez immédiatement 'select SEQ_' || tabName || '.nextval comme vlr_seq de dual' dans ret_val;
return ret_val;
fin
// --------- WINDEV PROCEDURE GLOBAL ---------- PROCEDURE GET_SEQ (pSeqName)
ds_query est la source de données la requête est string = "SELECT F_GETSEQ ('" + pSeqName + "') COMME SEQ_VLR FROM DUAL" nIsseq est un entier de 8 octets
SI HExecuteSQLQuery (ds_query, CONN_INFOTST, hQueryDefault + hQueryWithoutCorrection, requête) = True THEN
POUR CHAQUE ds_query nIsseq = ds_query.SEQ_VLR FIN
FIN
RÉSULTAT nIsseq
// --------- UTILISER GET SEQ IN CODES
UTILISER:
T001_Customer.ID = GETSEQ (T001_Customer) // <-------------- ICI
SI HAdd (T001_Client, hForceIdAuto) = Vrai ALORS ToastDisplay ("Enregistré avec succès") AUTREMENT INFO (ERRORINFO ()) FIN
j) Liens importants
[code: xml] https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/… [/ code]
J'espère que ce post est important pour vos projets!
Contribuez ci-dessous si vous avez d'autres erreurs non documentées.
ENSEMBLE NOUS SOMMES PLUS FORTS!
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 03 décembre 2019 - 13:30 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 03 décembre 2019 - 13:22 |
Guten morgen liebe freunde
Im Folgenden finden Sie die Schritte zum Installieren des Oracle-Treibers auf Windev, Webdev. Ich erinnere mich, dass diese Schritte auch für die Treiber von Mysql, Postgresql, MS SQL Server gelten. Die folgenden Schritte werden keine Probleme verursachen:
a) Installieren Sie Windev oder Webdev (Windev Mobile verwendet nur SQL Lite und Hfsql Client / Server und Hfsql Classic)
b) Installieren Sie dann den von der PCSOFT-Website heruntergeladenen Treiber oder den vom offiziellen Distributor des Tools gesendeten E-Mail-Link, entpacken Sie ihn, führen Sie das Installationsprogramm aus und geben Sie bei Bedarf die Seriennummer ein. Gerade dabei, bis zum Ende weiter zu geben.
c) Bei den Mysql-, Postgresql- und Mariadb-Treibern befinden sie sich im Repository unter den folgenden Links:
https://repository.windev.com/resource.awp… Biblioteca-lib-postgresql
https://repository.windev.com/resource.awp…
https://repository.windev.com/resource.awp…
Wir empfehlen Postgresql-Datenbanken wegen der großen Anzahl von Befehlen und weil sie der Oracle-Datenbank sehr ähnlich sind.
Die obigen Links enthalten die .lib-Bibliotheken, in die kopiert wird:
C \ Windows \ System32 C: \ Windows \ SysWOW64
Auf Treiber-DLLs muss über den Windows-Pfad zugegriffen werden können
HINWEIS: Die Treiber müssen kurz nach der vollständigen Installation installiert werden, bevor die Tools aktualisiert werden, um die Treiber zu erkennen. Dies habe ich bereits über einen PCSOFT-Support-Anruf angefragt, damit der Treiber jederzeit installiert werden kann. Hoffentlich wird dies in zukünftigen Versionen behoben.
d) Bei einigen Treibern wie MS SQL Server, Oracle ... MÜSSEN Sie auch den vom Hersteller bereitgestellten Bank-Client auf ihren jeweiligen Sites installieren. EX: ClientOracle11g (64 Bit) und ein weiteres wichtiges Detail Windev muss 64 Bit und der Treiber muss ebenfalls 64 Bit haben. Wenn es anders ist, funktioniert es nicht.
e) Im Falle eines Fehlers ist es wichtig, den Client zu entfernen und den Client und den Treiber erneut zu installieren.

f) Es ist wichtig, Firewall- und Proxy-Ports zu überprüfen und freizugeben, damit Datenbanken im Netzwerk funktionieren. Wenn Sie Fragen dazu haben, wenden Sie sich bitte an uns.
g) Validieren Sie die Versionen und das System, wenn es sich um 32 oder 64 Bit handelt, und öffnen Sie im Zweifel ein Ticket.
h) Um mit dem nativen Treiber arbeiten zu können, ist es wichtig, dass TNS_Name.ora und Ihr Projekt für die 32- oder 64-Bit-Version geeignet sind, die Sie installiert haben, und dass Sie den Oracle-Client-Treiber zusammen installiert haben
Überprüfen Sie, welche SID der Host der Verbindung ist. In Windev werden Sie zu keinem Zeitpunkt auf die IP-Adresse und den Port des Servers verweisen. Diese basieren immer auf der Verbindung in TNS_Name.ora und auf der SID, die für die Verbindung verantwortlich ist.
TNS_name.ora Leitungsbeispiel
trains = (Description = (ADDRESS_LIST = (Address = (PROTOCOL = TCP)) (Host = 192.168.1.1) (Port = 10110)) (CONNECT_DATA = (SID = infohome)))
Er bekommt die SID, nicht den Namen. Müssen Sie mitteilen, dass der Fahrer TNS-Name nur das SID-Infohome verwendet, nicht die Namenszüge !!!!
ex = "infohome" ist Host in Verbindung
EM EXTEND INFORMATION
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
i) BEISPIEL FÜR DIE VERWENDUNG EINES DAODS-BANKVERFAHRENS, DAS VON WINDEV / WEBDEV GENANNT WIRD
Funktion F_GETSEQ (T001_Customer) // ------------ FUNCTION ORACLE ---------------------- erstelle oder ersetze die Funktion F_GETSEQ (tabName varchar2)
Rücksendenummer ist
ret_val number: = 0;
beginne
führe sofort 'select SEQ_' || tabName || '.nextval as vlr_seq from dual' in ret_val aus;
return ret_val;
Ende;
// --------- WINDEV PROCEDURE GLOBAL ---------- PROCEDURE GET_SEQ (pSeqName)
ds_query ist Datenquelle Abfrage ist string = "SELECT F_GETSEQ ('" + pSeqName + "') AS SEQ_VLR FROM DUAL" nIsseq ist eine 8-Byte-Ganzzahl
IF HExecuteSQLQuery (ds_query, CONN_INFOTST, hQueryDefault + hQueryWithoutCorrection, query) = True THEN
FÜR JEDE ds_query nIsseq = ds_query.SEQ_VLR ENDE
ENDE
ERGEBNIS nIseq
// --------- USE GET SEQ IN CODES
VERWENDUNG:
T001_Customer.ID = GETSEQ (T001_Customer) // <-------------- HERE
IF HAdd (T001_Customer, hForceIdAuto) = True THEN ToastDisplay ("Erfolgreich aufgenommen") ELSE INFO (ERRORINFO ()) ENDE
j) Wichtige Links
[code: xml] https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/…
https://help.windev.com/en-US/… [/ code]
Ich hoffe, dieser Beitrag ist wichtig für Ihre Projekte!
Tragen Sie hier unten bei, wenn Sie andere undokumentierte Fehler haben.
ZUSAMMEN SIND WIR STÄRKER!
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 03 décembre 2019 - 13:30 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 03 décembre 2019 - 13:37 |
EXEMPLO DE DRIVER INSTALADO NA ANALISE



Importante por as específicações da Porta, cada banco de dados tem a sua particularidade.
No Caso do PostgreSQL, MYSQL, Ms SQL na aba "Extend Info" em Connections deve ser colocada a porta assim:
PORT=5432;
No Caso do Oracle
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
SE TIVER PROBLEMAS AINDA https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/3295-solucao-dos-erros-compilar-com-driver-nativo-oracle/read.awp…
E POR FAVOR AJUSTE NO FIREWALL E PROXY A ABERTURA DAS PORTAS PARA ENTRADA E SAIDA LIVRE É IMPORTANTE INSTALAR OS BANCOS SQL COM PORTAS DIFERENTES DA NUMERAÇÃO PADRÃO, POIS USAM SOCKET TCP/IP VIA PORTA E SE ESTIVEREM EM PORTAS PADRÃO PODEM SER ATACADAS POR CRACKERS E HACKERS. CONSULTE UM ESPECIALISTA EM SEGURANÇA SE TIVER DÚVIDAS.
OK
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 03 décembre 2019 - 13:42 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 04 décembre 2019 - 12:19 |
Como instalar o acesso nativo do oracle
1. A instalação do IIS / localhost deve estar em execução 2. crie um diretório virtual para o WIS 3. Instale o Oracle Client 4. Instale o acesso nativo da Oracle 5. Instale o Oracle Instant Client configure usando o procedimento: http://www.oracle.com/technology/pub/notes/technote_php_instant.html 6. Instale o aplicativo WISWEB (este é o aplicativo feito no webdev usando o acesso nativo da Oracle)
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/ |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 12 décembre 2019 - 14:14 |
Como saber qual o client oracle que esta instalado na máquina?
No MS-Dos use: tnsping nome banco
Microsoft Windows [versão 10.0.17134.1184] (c) 2018 Microsoft Corporation. Todos os direitos reservados.
U:\>tnsping infobanco
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEZ-2019 10:04:21
Copyright (c) 1997, 2010, Oracle. ALL rights reserved.
Arquivos de parÔmetros usados: C:\app\Aboller\product\11.2.0\client_1\network\admin\sqlnet.ora
Usado o adaptador TNSNAMES para resolver o apelido Tentativa de contatar (Description=(ADDRESS_LIST=(Address=(PROTOCOL=TCP) (Host=192.168.1.215) (Port=10110))) (CONNECT_DATA=(SID=infotst))) OK (30 ms)
U:\>
Versão Version 11.2.0.1.0
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/ |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 17 février 2020 - 21:51 |
IMPORTANTE
Se estiver dando o erro de OCI.dll ou der esse erro no rest api:
HTTP code received: 500 Internal Server Error
HTTP headers received: cache-control: No-cache content-Length: 3289 content-type: application/JSON; charset=utf-8 date: Mon, 17 Feb 2020 20:48:33 GMT expires: Thu, 01 Dec 1998 16:00:00 GMT pragma: No-cache server: Microsoft-IIS/8.5 webdeverror: 25 ERR_MSG_BOX x-powered-by: ASP.NET
Format of Data received (HTTP 'Content-Type' header): application/JSON; charset=utf-8
Content received: {"fault" : {"faultcode" : "server", "faultstring" : "native ORACLE access error.\nError Number = 22 \n \nUnable to connect to the server.\nThe following error was returned by the <infotst> database:\nError number = <12154>.\nError message:\nError while trying to retrieve text for error ORA-12154\n\nThis error is generally caused by an incorrect configuration of the Oracle client layer.\nThe Native Oracle Connector requested a connection to <infotst> to the Oracle client layer. \nSee the help about the Native Oracle Connector to know the different ways to connect to an Oracle server.\nSee the help about the Oracle client layer to find out more about the configuration of the Oracle client layer (configuration of methods for resolving names and configuration of a network service name).", "detail" : "WL call:\nProcess of 'Méthode ChercheFichierEtExecuteAction' (MQ001_QUESTIONARIOS.ChercheFichierEtExecuteAction), line 3\n'HReadSeek' function, syntax 1\n\nWhat happened?\nnative ORACLE access error.\nError Number = 22 \n \nUnable to connect to the server.\nThe following error was returned by the <infotst> database:\nError number = <12154>.\nError message:\nError while trying to retrieve text for error ORA-12154\n\nThis error is generally caused by an incorrect configuration of the Oracle client layer.\nThe Native Oracle Connector requested a connection to <infotst> to the Oracle client layer. \nSee the help about the Native Oracle Connector to know the different ways to connect to an Oracle server.\nSee the help about the Oracle client layer to find out more about the configuration of the Oracle client layer (configuration of methods for resolving names and configuration of a network service name).\n\nError code: 73001\nLevel: fatal error\nWD55 error code: 3001\n\nSystem error message:\nError while trying to retrieve text for error ORA-12154\n\nModule : 'wd250hf64.dll (01F250064f - 25.0.183.0).\nIdentifier of detailed information (.err): 72801\nDebugging information:\nClient layer: C:\\app\\Administrador\\product\\11.2.0\\client_1\\bin\\OCI.DLL\nProvider: WinDevOracle\nUser: mas\nData source: infotst\nCommand timeout: 0\nUnicode supported: 1\nPage code of WL: 1252\nPage code of the connection: 1252\nANSI charset ID = 178\nOCIEnvCreate = Failed\nOCIInitialize = Succeeded\nOCI_NLS_CHARACTER_SET = US7ASCII\nIEWDORA=100.30\nModule=<WDORA>\nVersion=<25.0.26.0>\nStatus = FFFFFFFF (OCI_ERROR)\nClient layer: C:\\app\\Administrador\\product\\11.2.0\\client_1\\bin\\OCI.DLL\nProvider: WinDevOracle\nUser: mas\nData source: infotst\nCommand timeout: 0\nUnicode supported: 1\nPage code of WL: 1252\nPage code of the connection: 1252\nANSI charset ID = 178\nOCIEnvCreate = Failed\nOCIInitialize = Succeeded\nOCI_NLS_CHARACTER_SET = US7ASCII\nFonction (7,118)\nAdditional information:\nEIT_BASECODE : <12154>\nEIT_INFOCLIENT : <11.2.0.1.0>\nEIT_BASEMESSAGE : <Error while trying to retrieve text for error ORA-12154\n>\nEIT_NATIVECODE : <22>\nEIT_LOGICALTABLENAME : <Q001_QUESTIONARIOS>\nEIT_PILEWL :\nMéthode ChercheFichierEtExecuteAction (MQ001_QUESTIONARIOS.ChercheFichierEtExecuteAction), line 3\nMéthode Lecture (MQ001_QUESTIONARIOS.Lecture), line 16\nEIT_DATEHEURE : 17/02/2020 17:48:33\nEIT_TYPE_WDFILE : <4>\nEIT_IDCODE : <458752>\nEIT_CODEHTTP :
COPEI PARA ESSES DIRETORIO ABAIXO
C:\WEBDEV\PROGRAMS\ OS ARQUIVOS WD250ORA.DLL E WD25064ORA.DLL
C:\WAS_25 OS ARQUIVOS WD250ORA.DLL E WD25064ORA.DLL
C:\WINDOWS\SYSTEM32\ OS ARQUIVOS WD250ORA.DLL E WD25064ORA.DLL
C:\Windows\SysWOW64\ OS ARQUIVOS WD250ORA.DLL E WD25064ORA.DLL
IMPORTANTE É COPIAR OS ARQUIVOS DO DRIVER,
INSTALAR O DRIVER DO ORACLE
INSTALAR O CLIENT DO ORACLE
LIBERAR O ACESSO EXTERNO PARA PODER CONSULTAR O DADO VIA HTTP A ESSE SITE A ESSA INSTANCIA DO BANCO DE DADOS.
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 17 février 2020 - 21:53 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 08 août 2022 - 23:43 |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 08 août 2022 - 23:49 |
DEVE TER O DRIVER E A LIB SEMPRE
NO ORACLE É OCI.DLL
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/ |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 3 610 messages Popularité : +175 (223 votes) |
|
Posté le 26 mai 2023 - 20:21 |
Ola,
ONDE DEVE COPIAR AS DLL PARA FUNCIONAR:
C:\PC SOFT\WINDEV 28\Programmes\Framework\Win64x86
C:\PC SOFT\WEBDEV 28\Programmes\Framework\Win64x86
C:\PC SOFT\WINDEV 28\Programmes\Framework\Win32x86
C:\PC SOFT\WEBDEV 28\Programmes\Framework\Win32x86
E
C:\WINDOWS\SYSTEM32
C:\WINDOWS\SYSWOW64
POR TAMBEM NO PATH DO WINDOWS EM VARIAVEIS DO AMBIENTE
TER CERTEZA A VERSAO USADA SE É 32 OU 64 BITS SE ESTAO NOS LOCAIS CERTO
NA CONEXAO DEVE POR ESSAS INFORMAÇÕES
No Caso do PostgreSQL, MYSQL, Ms SQL na aba "Extend Info" em Connections deve ser colocada a porta assim:
PORT=5432;
No Caso do Oracle, EXTEND INFO:
Persist Security Info=False;Locale Identifier=1046;Prompt=4;OLE DB Services=-1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=FDPR-7660;Use Encryption for Data=False;Tag with column collation when possible=False
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/Message modifié, 26 mai 2023 - 20:26 |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|