Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

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

From Wiki
Jump to: navigation, search

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)

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.

This page was last modified on 20 June 2012, at 04:09.
46 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.

×