| View previous topic :: View next topic |
| Author |
Message |
Hector Valladares Guest
|
Posted: Sat Dec 03, 2005 8:40 pm Post subject: web application is searching dbexpmysql.dll in system folder |
|
|
Hello to everyone;
Our web application (made with websnap) is not searching the library (dbexpmysql.dll)of connection to the database in the same folder where is it but it is searching the library in the system folder; How we can allowed to the application to search the library on its same folder?
It is under windows 2000 server
please this is very urgent
thanks for your help
hector |
|
| Back to top |
|
 |
Nick Hodges [TeamB] Guest
|
Posted: Mon Dec 05, 2005 5:38 am Post subject: Re: web application is searching dbexpmysql.dll in system fo |
|
|
Hector Valladares wrote:
| Quote: | How we can allowed to the application to search the library on its
same folder?
|
It should do this automatically.
It may be that your application is requiring the DLL in a secondary
manner -- i.e., your app requires a DLL that requires the MySQL DLL,
and thus the MySQL DLL should be in the same directory as the /first/
DLL in the chain.
--
Nick Hodges -- TeamB
Lemanix Corporation -- http://www.lemanix.com
Read my Blog -- http://www.lemanix.com/nick |
|
| Back to top |
|
 |
hector valladares Guest
|
Posted: Mon Dec 05, 2005 7:34 pm Post subject: Re: web application is searching dbexpmysql.dll in system fo |
|
|
"Nick Hodges [TeamB]" <nickhodges (AT) gmail (DOT) com> wrote:
| Quote: | Hector Valladares wrote:
How we can allowed to the application to search the library on its
same folder?
It should do this automatically.
It may be that your application is requiring the DLL in a secondary
manner -- i.e., your app requires a DLL that requires the MySQL DLL,
and thus the MySQL DLL should be in the same directory as the /first/
DLL in the chain.
--
Nick Hodges -- TeamB
Lemanix Corporation -- http://www.lemanix.com
Read my Blog -- http://www.lemanix.com/nick
|
Thanks;
yes, mysql.dll is in the same directory; the same it happens with the thirty-party library dbx4mysql.dll, the application is searching this library in the system folder of the windows 2000 server.
Maybe is it necesary to register those libraries?
hector |
|
| Back to top |
|
 |
Nick Hodges [TeamB] Guest
|
Posted: Tue Dec 06, 2005 5:58 am Post subject: Re: web application is searching dbexpmysql.dll in system fo |
|
|
hector valladares wrote:
| Quote: | Maybe is it necesary to register those libraries?
|
Give that a try.
--
Nick Hodges -- TeamB
Lemanix Corporation -- http://www.lemanix.com
Read my Blog -- http://www.lemanix.com/nick |
|
| Back to top |
|
 |
Jon Lennart Aasenden Guest
|
Posted: Wed Dec 14, 2005 8:56 pm Post subject: Re: web application is searching dbexpmysql.dll in system fo |
|
|
Add the program path to the windows searchpath list.
That way you at least make sure your folder is searched.
Also, if the application is running as another user - that account may not
be allowed to access the current folder - and thus this forces the system to
just look in the standard path.
Jon Lennart Aasenden
"Hector Valladares" <vallchimp (AT) excite (DOT) com> wrote in message
news:4391ca7c$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Hello to everyone;
Our web application (made with websnap) is not searching the library
(dbexpmysql.dll)of connection to the database in the same folder where is it |
but it is searching the library in the system folder; How we can allowed to
the application to search the library on its same folder?
| Quote: | It is under windows 2000 server
please this is very urgent
thanks for your help
hector |
|
|
| Back to top |
|
 |
|