×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:First attempt to create Internet connection fails if default IAP changed on S60 1st Edition (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
 
hamishwillee (Talk | contribs)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{Archived|timestamp=20120410134052|user=[[User:Lpvalente|Lpvalente]]}}
__NOEDITSECTION__
+
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 1st Edition]]
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
|colspan = "2"|
+
=====First attempt to create Internet connection fails=====
+
|
+
=====KIS000143=====
+
  
|-
 
|
 
=====Overview=====
 
|colspan = "2"|If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.
 
  
|-
+
{{ArticleMetaData <!-- v1.2 -->
|
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
=====Reported against=====
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|colspan = "2"|S60 1st Edition, Nokia 7650, Nokia 3650, Nokia N-Gage™ mobile game deck
+
|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]) -->
 +
|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==
|
+
{{Abstract|If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.}}
=====Date identified=====
+
|colspan = "2"|August 26, 2003, updated February 17, 2004
+
  
|-
+
==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.
=====Symptoms=====
+
|colspan = "2"|-
+
  
|-
+
==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.
=====Detailed description=====
+
|colspan = "2"|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.
+
 
+
|-
+
|
+
=====How to reproduce=====
+
|colspan = "2"|-
+
 
+
|-
+
|
+
=====Solution=====
+
|colspan = "2"|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.
+
 
+
|-
+
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 1st Edition]]
+

Latest revision as of 07:09, 20 June 2012

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Tested with
Devices(s): Nokia 7650, Nokia 3650, Nokia N-Gage™ mobile game deck
Compatibility
Platform(s): S60 1st Edition
S60 1st Edition
Article
Created: User:Technical writer 1 (August 26, 2003, updated February 17, 2004)
Last edited: hamishwillee (20 Jun 2012)

[edit] Overview

If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.

[edit] 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.

[edit] 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.

This page was last modified on 20 June 2012, at 07:09.
61 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×