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 (moved First attempt to create Internet connection fails if default IAP changed on S60 1st Edition (Known Issue) to Archived:First attempt to create Internet connection fails if default IAP changed on S60 1st Edition (Known Issue)) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Archived|timestamp=20120410134052|user=[[User:Lpvalente|Lpvalente]]}} |
| − | + | [[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 1st Edition]] | |
| − | + | ||
| − | {{ | + | |
| − | | | + | {{ArticleMetaData <!-- v1.2 --> |
| − | | | + | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> |
| − | |devices=Nokia 7650, Nokia 3650, Nokia N-Gage™ mobile game deck | + | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> |
| − | |category= | + | |devices= Nokia 7650, Nokia 3650, Nokia N-Gage™ mobile game deck |
| − | | | + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> |
| − | |creationdate=August 26, 2003, updated February 17, 2004 | + | |platform= S60 1st Edition |
| − | | | + | |devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) --> |
| + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> | ||
| + | |signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. --> | ||
| + | |keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase --> | ||
| + | |language= <!-- Language category code for non-English topics - e.g. Lang-Chinese --> | ||
| + | |translated-by= <!-- [[User:XXXX]] --> | ||
| + | |translated-from-title= <!-- Title only --> | ||
| + | |translated-from-id= <!-- Id of translated revision --> | ||
| + | |review-by= <!-- After re-review: [[User:username]] --> | ||
| + | |review-timestamp= <!-- After re-review: YYYYMMDD --> | ||
| + | |update-by= <!-- After significant update: [[User:username]]--> | ||
| + | |update-timestamp= <!-- After significant update: YYYYMMDD --> | ||
| + | |creationdate= August 26, 2003, updated February 17, 2004 | ||
| + | |author= [[User:Technical writer 1]] | ||
| + | <!-- The following are not in current metadata --> | ||
| + | |subcategory= | ||
| + | |id= KIS000143 | ||
}} | }} | ||
==Overview== | ==Overview== | ||
| − | If the default (suggested) IAP is changed, first attempt to create an Internet connection fails. | + | {{Abstract|If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.}} |
==Description== | ==Description== | ||
| Line 20: | Line 37: | ||
==Solution== | ==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. | 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. | ||
| − | |||
| − | |||
Latest revision as of 07:09, 20 June 2012
The article is believed to be still valid for the original topic scope.
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.

