Archived:First attempt to create Internet connection fails if default IAP changed on S60 1st Edition (Known Issue)
extkbeditor2
(Talk | contribs) m |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData) |
||
| Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
| − | {{ | + | {{ArticleMetaData |
|id=KIS000143 | |id=KIS000143 | ||
|platform=S60 1st Edition | |platform=S60 1st Edition | ||
| Line 10: | Line 10: | ||
|creationdate=August 26, 2003, updated February 17, 2004 | |creationdate=August 26, 2003, updated February 17, 2004 | ||
|keywords= | |keywords= | ||
| + | |||
| + | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | ||
| + | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| + | |sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> | ||
| + | |devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) --> | ||
| + | |signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) --> | ||
| + | |author=[[User:Technical writer 1]] | ||
}} | }} | ||
Revision as of 14:06, 25 June 2011
Article Metadata
Tested with
Compatibility
Article
Overview
If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.
Description
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.
Solution
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.

