Solved. Bug, important: one db cannot connect to server, asking for license

Business edition tips, tricks, problems and discussions

Moderators: Max, TerryRogers

Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Solved. Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

Hi,
EPIM 9.2
Win 10 guest connecting to Win 8.1 host, both x64.
Strange:
on Win 10 I have two instances running.
From one I can connect to DB1 via server.
From the other I am trying to connect to DB2, which worked fine for years, and I get the message:
EPIM-BUG-licenseneeded.JPG
It does not make any sense. If I don't have the license, I could not connect to DB1.
Anyway, cannot work.
Last edited by Trinitylab on Tue Jul 28, 2020 9:33 pm, edited 1 time in total.
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

Looks like only one DB triggers that bug, say DB2.
I opened DB3 and it works smoothly.
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

Does anybody have a clue what that might be?
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

@admin, would you have a look at the problem?
What I can add is it did not exist before 9.x
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
admin
Site Admin
Posts: 12462
Joined: Thu Nov 25, 2004 3:12 am
Has thanked: 1115 times
Been thanked: 774 times

Re: Bug, important: one db cannot connect to server, asking for license

Post by admin »

My first step would be to sync the DB2 into the new one using EPIM Sync. Will it help?
Android version of EssentialPIM. Keep all your data in sync!
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

Works! Thank you!
How do you think, would it be reasonable to do the same with every other db we have, just to "refresh" them?
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
admin
Site Admin
Posts: 12462
Joined: Thu Nov 25, 2004 3:12 am
Has thanked: 1115 times
Been thanked: 774 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by admin »

Awesome, thanks for the confirmation!

I wouldn't recommend doing anything with the DB if it's working normally. As EPIM employs some internal DB checking/optimization mechanisms on a regular basis anyway. That particular issue was related to a fix we introduced some time ago and which seemingly didn't apply to the DB2 correctly.
Android version of EssentialPIM. Keep all your data in sync!
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

OK, thank you, got it.
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

Hello, it's the same, now I can see two users in DB, however there is only one connected.

Will do the sync as above, which is workaround, but the problem persists.
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
admin
Site Admin
Posts: 12462
Joined: Thu Nov 25, 2004 3:12 am
Has thanked: 1115 times
Been thanked: 774 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by admin »

Please copy-paste the "This database was opened in" values from File->Database Management. Thanks!
Android version of EssentialPIM. Keep all your data in sync!
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

Hello admin.
The workaround worked, this is this new DB, synced earlier (as above) to new,
Opened in:
9.3, 9.0
but it was used, gosh, since 5.x some.
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
admin
Site Admin
Posts: 12462
Joined: Thu Nov 25, 2004 3:12 am
Has thanked: 1115 times
Been thanked: 774 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by admin »

In this case the problem shouldn't have happened.. If you still have the previous database, please delete all the data from it, leaving just users with their rights intact and forward to us, will check it out. Thanks!
Android version of EssentialPIM. Keep all your data in sync!
Trinitylab
Guru
Posts: 661
Joined: Mon Jan 23, 2012 1:31 pm
Has thanked: 16 times
Been thanked: 40 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by Trinitylab »

It persists.
I have noticed that this might be something with Firebird. (?)
Simply, when DB on the guest PC is closed in an irregular way (lost wi-fi connection or similar), then 2 users are still shown on the host PC using that DB. No way to kill one of them. Looks like Firebird does not see that the other PC is disconnected.
EPIM Pro Business Network always newest
Win 8.1 Pro 64x, C2D 2x3GHz, 16 GB RAM or Win 10 Pro, i7, 16 GB RAM.
admin
Site Admin
Posts: 12462
Joined: Thu Nov 25, 2004 3:12 am
Has thanked: 1115 times
Been thanked: 774 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by admin »

Will check that out, thanks for the update.
Android version of EssentialPIM. Keep all your data in sync!
admin
Site Admin
Posts: 12462
Joined: Thu Nov 25, 2004 3:12 am
Has thanked: 1115 times
Been thanked: 774 times

Re: Solved. Bug, important: one db cannot connect to server, asking for license

Post by admin »

Firebird uses a standard TCP/IP connection, which is considered to be broken only after 2 hours by default system settings. That's a bit too much. Attached is the reg file that changes this setting to 5 mins, run it and it should fix the problem with ghost users in the database.
Attachments
KeepAlive.reg
(288 Bytes) Downloaded 80 times
Android version of EssentialPIM. Keep all your data in sync!
Post Reply