Go Back   Technology Questions > Hardware Questions > Electronics > Pocket PC General

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-15-2007, 10:59 AM
Ansh
Tablet PC Guest
 
Posts: n/a
CertOpenStore Gives Error#5 "Access is denied" for Smartphone application... It's urgent

Hi All,
I am trying to open store in my Smartphone application as follows:
systemStore = CertOpenStore(
CERT_STORE_PROV_SYSTEM,
0,
NULL,
CERT_STORE_ENUM_ARCHIVED_FLAG /*LOWORD*/ |

CERT_SYSTEM_STORE_LOCAL_MACHINE /*HIWORD*/,
_T("ROOT"));

DWORD dwErr = GetLastError();

Here it gives me Error #5 which is "Access is denied.". My application
tries to connect to a remote server which i had given certificate.

My Pocket PC client works well with
systemStore = CertOpenSystemStoreW(NULL, _T("ROOT"));
Here i get a valid handle to the store when i connect to the same
server.

Rest of the things are same in both the cases there is only difference
of API used to open the store.

Can anyone tell me what can be the possible reason behind it.

Thanks in Advance,
Ansh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-15-2007, 10:59 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 01-15-2007, 11:01 AM
Ansh
Tablet PC Guest
 
Posts: n/a
Re: CertOpenStore Gives Error#5 "Access is denied" for Smartphone application... It's urgent

Anyways friends, i got the solution. I just reinstallled emulator then
it works fine for me. I dont know whats the reason behind it. But if
somebody is facing this prob then reinstalling the emulator should work
for him.

Thnx ,
Ansh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continue to "administrator "access denied" error Mike Windows XP 6 01-04-2007 04:46 AM
RE: administrator "access denied" error Andrew E. Windows XP 2 01-04-2007 04:17 AM
"Access Denied" error removing msmsgr from Startup Denzil Windows XP 2 01-04-2007 02:57 AM


All times are GMT -8. The time now is 01:20 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0