Archived:First attempt to create Internet connection fails if default IAP changed on S60 1st Edition (Known Issue)
m (Removed protection from "KIS000143 - Attempt to create Internet connection fails": Merging into Wiki)
m (moved KIS000143 - Attempt to create Internet connection fails to First attempt to create Internet connection if default IAP changed fails on S60 1st Edition (Known Issue): Merge into wiki.)
Revision as of 05:12, 20 March 2012
S60 1st Edition
If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.
All APIs able to create an Internet connection (e.g., RSocket::Open(), RGenericAgent::StartOutgoing() or CIntConnectionInitator::ConnectL()) fail with an error code KErrAccessDenied at the first connection attempt. When creating an Internet connection, for example, using RGenericAgent::StartOutgoing(), a dialog pops up where all defined IAPs are listed and the default is highlighted. If an IAP other than the default is selected, KErrAccessDenied error code is returned. The problem exists even if the IAP is selected in the code without showing the dialog.
The problem can be handled by implementing a retry mechanism, which automatically tries to reconnect one or more times if KErrAccessDenied error code is returned.