KErrPermissionDenied(-46) on N95, at CMsvEntry creation

Login to reply to this topic.
Mon, 2007-10-15 12:29
Joined: 2007-07-27
Forum posts: 3

Hi

I am developing an application which deals with SMS messages in the phone.

Which uses following code

CMsvEntry* iMsvEntry = CMsvEntry::NewL(*iSession, KMsvGlobalInBoxIndexEntryId, sort);

This call returns KErrPermissionDenied on N95 phone.

This error generally comes in case of capability issues. But I have added everything in my .mmp file for capabilities, below are they

"LocalServices Location NetworkServices PowerManagement ProtServ ReadUserData SurroundingsDD SWEvent UserEnvironment WriteUserData ReadDeviceData TrustedUi WriteDeviceData"

Can any one tell me what the problem is ?

-Satheesh

  • Login to reply to this topic.