Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Have an odbc conenction, to connect to a WMS database (I believe they support odbc only) and on connection open gets the exception {"ERROR [08004] [ODBC Firebird Driver]unavailable database"}. The WMS Server & Client components are installed on the machine where my code also runs. Conenction string below

"DRIVER=Firebird/InterBase(r) driver; UID=SYSADMIN; PWD=MASTERKEY; DBNAME=C:\Sample\Db.FDB;"

I am clueless on how to proceed. Some of the already seen answers says, only one application can access the db at a time or so. In that case how I find who else trying to access this db and stop?

My application is a windows forms application and now the code runs in debug mode.

Thanks
Nishitha

What I have tried:

Tried on another machine in a different network, where WMS is installed correctly on a different machine in the network. There as well connection fails.
Posted
Updated 8-Feb-18 1:25am

You have to install Firebird: ODBC Driver[^]
 
Share this answer
 
Had to prefix dbpath with 'localhost:' and password was in lower case. That helped me to connect. But since I had to get schema info, which was limited in ODBC, moved to using FireBirdClient, that is Firebird Ado.Net provider.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900