IP connectivity crash with error -9 both in code and Nokia application
| Thu, 2008-01-31 16:33 | |
|
Hi all, When I try to create an IAP using my Nokia N80 settings application, it fails with error code -9. The only way I found to recover from this is to reinstall my Nokia system (Symbian OS 9.2)! I suspect some CommDB problem or limitation but I have seen nobody having the same trouble. That's really a tricky issue as I develop on several terminals, not only Nokia ones but Symbian powered, and I got this problem quite often (say 1 per week) Is it a known issue?? |
|






Forum posts: 50
Hi slash33,
It happens because of the duplicate entry of the same IAP id.
How r u creating the IAP?
If u are creating the IAP while first access of your app, then your creation IAP method will create a new entry in the IAP table each time.
We can create maximum 20 duplicate entries only, i think.So, once the device reaches the maximum entry then it wont allow u to create the entry with that name.
But , if u reboot ur device then OS cleans the entries in the CommDB.So now u can able to create it.
So, to resolve this, u need to delete the created entry while uninstalling the app or according to ur needs.
Cheers,
Karthikeyan.B
Forum posts: 2
That's right. There was a bug in the code creating unexpected IAP entries, even with the same name. But a reboot was not sufficient. I needed to reset the system.
After then, I have had another problem with commdb. This one concerns the ConnPrefTable and is probably a programming error but quite difficult to explore. Here is it: the code writes and removes records from the connection preference table using both the CCommDatabase and CCommsDbConnectionPrefTableView objects. Nothing wrong with this except that, after some time, the IAP preference table seems to be not available any more and any call to RConnection::Start(TCommDbConnPref) is rejected with status -3606. No idea what's that non standard status code. Also, the terminal does not display the IAP preference dialog any more! In place, it displays the "connecting" message ever and ever and...
May a lock on the connection preference table be the cause for this or no deletion of the CCommsDbConnectionPrefTableView object after its use (crash or uncaught leave)?
Just borying to have the terminal reset more again!