Genero database connectivity problem
Posted in 2011
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Internationalization & Character Sets
Hi, I am trying to develop sample database application using Genero. But I face following error: Program stopped at 'search.4gl', line number 60. FORMS statement error number -6366. Could not load database driver dbmdefault. Set FGLSQLDEBUG to get more details. Whereas line#60, having 'CONNECT TO "custdemo"' or containing sql statement. I am not sure what is this error exactly. I checked Schema and configurations regarding Genero DB. But still same problem. Please help me in above error, if anybody has solution. Thanks in advance. Regards, Pravin Bankar
Something in the Genero environment is not set so the runtime engine could not find the shared library that contains the database drivers. Not a Genero expert, but there should be a quick start guide that covers setting up the runtime environment. Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) Blog: http://informix-myview.blogspot.com/ Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Mon, Oct 3, 2011 at 11:03 AM, pravinebankar@gmail.com < pravinebankar@gmail.com> wrote: > Hi, > > I am trying to develop sample database application using Genero. But I > face following error: > > Program stopped at 'search.4gl', line number 60. > FORMS statement error number -6366. > Could not load database driver dbmdefault. Set FGLSQLDEBUG to get more > details. > > Whereas line#60, having 'CONNECT TO "custdemo"' or containing sql > statement. > > I am not sure what is this error exactly. I checked Schema and > configurations regarding Genero DB. But still same problem. > > Please help me in above error, if anybody has solution. > > Thanks in advance. > > Regards, > Pravin Bankar > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list >
On Oct 3, 5:03 pm, "pravineban...@gmail.com" <pravineban...@gmail.com> wrote: > Hi, > > I am trying to develop sample database application using Genero. But I > face following error: > > Program stopped at 'search.4gl', line number 60. > FORMS statement error number -6366. > Could not load database driver dbmdefault. Set FGLSQLDEBUG to get more > details. > > Whereas line#60, having 'CONNECT TO "custdemo"' or containing sql > statement. > > I am not sure what is this error exactly. I checked Schema and > configurations regarding Genero DB. But still same problem. > > Please help me in above error, if anybody has solution. > > Thanks in advance. > > Regards, > Pravin Bankar Hi, normally this problem comes out because the variable LD_LIBRARY_PROFILE has been not setted. Try to do that adding the variable into Genero Studio environment configuration, under the Informix voice. Be sure that this set of variables has been activated, by default the related icon is not setted.
On Oct 3, 8:14 pm, Art Kagel <art.ka...@gmail.com> wrote: > Something in the Genero environment is not set so the runtime engine could > not find the shared library that contains the database drivers. Not a > Genero expert, but there should be a quick start guide that covers setting > up the runtime environment. > > Art > > Art S. Kagel > Advanced DataTools (www.advancedatatools.com) > Blog:http://informix-myview.blogspot.com/ > > Disclaimer: Please keep in mind that my own opinions are my own opinions and > do not reflect on my employer, Advanced DataTools, the IIUG, nor any other > organization with which I am associated either explicitly, implicitly, or by > inference. Neither do those opinions reflect those of other individuals > affiliated with any entity with which I am affiliated nor those of the > entities themselves. > > On Mon, Oct 3, 2011 at 11:03 AM, pravineban...@gmail.com < > > > > > > > > pravineban...@gmail.com> wrote: > > Hi, > > > I am trying to develop sample database application using Genero. But I > > face following error: > > > Program stopped at 'search.4gl', line number 60. > > FORMS statement error number -6366. > > Could not load database driver dbmdefault. Set FGLSQLDEBUG to get more > > details. > > > Whereas line#60, having 'CONNECT TO "custdemo"' or containing sql > > statement. > > > I am not sure what is this error exactly. I checked Schema and > > configurations regarding Genero DB. But still same problem. > > > Please help me in above error, if anybody has solution. > > > Thanks in advance. > > > Regards, > > Pravin Bankar > > _______________________________________________ > > Informix-list mailing list > > Informix-l...@iiug.org > >http://www.iiug.org/mailman/listinfo/informix-list Thanks a lot Art for quick response. Now I am able to rum my Genero application. As I refereed demo applications and made changes in source code as follow: CONNECT TO "custdemo+driver='dbmads381'" USER "custdemo" using "custdemo" Thanks again. I will reach you again, if any issue in Informix 4gl / Informix Genero. Thanks & Regards Pravin Bankar