IBCConnection raising error with invalid paths/Server
Posted: Wed 20 Mar 2013 11:40
I am having this issue, when I am developing my app, sometimes I am connected to the database, so I need to put on the ibcconnetion properties that I have in my datamodule, my database and FB lib folder and the server name.
But, if I forgot those properties with my paths or server name and send the application to a customer, my application raises an exception because the folders or computer name doesn't exists. I allways set the properties, connected := False and leave the keepdesignconnected := True.
Of course when I generate my app the database isn't connected and the first action is load the customer parameters from a ini file and after that try to connect.
This is an old issue, I usually take care to clean all ibcconection before send to the customer, but sometimes I forget and I have this issue.
Any idea about this?
Thanks,
José Carlos.
But, if I forgot those properties with my paths or server name and send the application to a customer, my application raises an exception because the folders or computer name doesn't exists. I allways set the properties, connected := False and leave the keepdesignconnected := True.
Of course when I generate my app the database isn't connected and the first action is load the customer parameters from a ini file and after that try to connect.
This is an old issue, I usually take care to clean all ibcconection before send to the customer, but sometimes I forget and I have this issue.
Any idea about this?
Thanks,
José Carlos.