Error con FiveDBU

Error con FiveDBU

Postby Compuin » Sat Mar 19, 2016 9:56 pm

Hola

Al tratar de accesar una BD en MS SQL Server me esta arrojando el siguiente error.

Application
===========
Path and name: C:\fivedbu_20140730\fivedbu.exe (32 bits)
Size: 5,550,080 bytes
Compiler version: Harbour 3.2.0dev (r1406271520)
FiveWin Version: FWH 14.06
Windows version: 6.1, Build 7600

Time from start: 0 hours 1 mins 25 secs
Error occurred at: 19/03/2016, 17:54:12
Error description: Error BASE/1004 No exported method: OPENSCHEMA
Args:
[ 1] = U
[ 2] = N 20

Stack Calls
===========
Called from: => OPENSCHEMA( 0 )
Called from: C:\fwteam\samples\fivedbu.prg => ADOOPEN( 473 )
Called from: C:\fwteam\samples\fivedbu.prg => ADOCONNECT( 377 )
Called from: C:\fwteam\samples\fivedbu.prg => (b)BUILDMAINBAR( 83 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 513 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 737 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1723 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1371 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3291 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1015 )
Called from: C:\fwteam\samples\fivedbu.prg => MAIN( 57 )

System
======
CPU type: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz 3000 Mhz
Hardware memory: 8053 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Windows total applications running: 5


Alguna sugerencia ^^
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Error con FiveDBU

Postby Antonio Linares » Sat Mar 19, 2016 11:12 pm

Aqui tienes la versión más reciente de FiveDBU:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedbu_20160320.zip

Por favor pruébalo con esta versión a ver si se genera el mismo error, gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error con FiveDBU

Postby Compuin » Sat Mar 19, 2016 11:16 pm

Da el mismo error
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Error con FiveDBU

Postby Antonio Linares » Sat Mar 19, 2016 11:38 pm

Acabo de enviarle un email a Rao quien es nuestro gran especialista en ADO y muchas más áreas, para que nos de su opinión
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error con FiveDBU

Postby Compuin » Sat Mar 19, 2016 11:42 pm

Gracias Antonio
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Error con FiveDBU

Postby nageswaragunupudi » Sun Mar 20, 2016 1:08 am

The error occurs when the connection failed to open.

In the function AdoOpen() in FiveDbu.prg, after trying to open the connection, it should be checked if oCon == nil or not. If oCon is nil, open failed and if not we should proceed to open the schema and other recordsets.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error con FiveDBU

Postby Compuin » Sun Mar 20, 2016 3:26 am

Thanks Mr Rao

Which part of the code should I fix ?
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Error con FiveDBU

Postby Antonio Linares » Sun Mar 20, 2016 10:33 am

Aqui tienes el FiveDBU modificado según las recomendaciones de Rao:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedbu_20160320.zip

Pruébalo por favor, gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error con FiveDBU

Postby Compuin » Sun Mar 20, 2016 1:28 pm

Otro error y no logra conectar

Image
Image
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Error con FiveDBU

Postby Antonio Linares » Sun Mar 20, 2016 5:32 pm

Falta incluir esa frase en el diccionario de FWH y el error que te dá indica que no se puede conectar,
entiendo que ahora FiveDBU termina su ejecución ahí

viewtopic.php?f=3&t=32142&p=188138#p188138
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error con FiveDBU

Postby Compuin » Sun Mar 20, 2016 5:37 pm

Como lo incluyo en el Fivedbu que me enviastes?
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Error con FiveDBU

Postby Antonio Linares » Sun Mar 20, 2016 5:46 pm

Vuelve a descargarlo desde aqui y prueba nuevamente, gracias:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedbu_20160320.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error con FiveDBU

Postby Compuin » Sun Mar 20, 2016 5:57 pm

Mismo comportamiento
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 90 guests