Vista does not detect CA Server on local network RRS feed

  • Question

  • Hello,

    I have a piece of code

    ICertConfig->->Reset(0, &nCount);

    This is build on windows Vista as well as Windows XP. I am using microsoft visual studio 6.0 Professional edition and Windows Platform SDK 2000 to build for both Vista and WinXP. But in windows Vista I am not able to get correct results as my code

    ICertConfig->->Reset(0, &nCount);

    Returns success but outparam nCount is 0 even there is one CA Server present in local network so the call to

    ICertConfig->GetConfig(CC_FIRSTCONFIG, &bstrConfig); fails.

    This, in windows XP gives correct results(nCount = 1) and recognises the CA server in the same domain as that of windows Vista. My domain server(also the CA server) , the XP machine, and the Vista machine are all in the same domain. Also, tried using windows Vista platform SDK to build the project, but same failure.

    Can you please help me on this ? Is there something specific for windows Vista ? ( I am logged in as an administrator.). Kindly reply me as this is very urgent for me or redirst this question to the concerned person who is capable of answering.





    Friday, February 2, 2007 6:53 AM


All replies

  • Maybe that's due to change of APIs in Windows Vista, you can see full list of Windows Vista APIs from here: http://devreadiness.org/files/137/download.aspx

    Good luck

    Saturday, February 3, 2007 2:35 PM
  • Is you application running as Adminstrator ?
    Just because you are logged in as administrator does not mean you process you develope are running as admin.

    Please check the tread on UAC


    Saturday, February 3, 2007 9:08 PM
  • I think he said he's logged as Administrator, maybe he needs to run the application as administrator as you mentioned, JAYTF.
    Sunday, February 4, 2007 11:46 AM


      Even i have run my application as an administrator, but the results are same. And the attached API Sheet also doesnot contain any info about ICertConfig Interface.


     - manisha

    Monday, February 12, 2007 7:52 AM
  • please go to this link



    This is a developer site when you might find a better support option for you question


    Monday, February 12, 2007 2:15 PM