Re: ICertView in C# with Win2K

From: Vishal Agarwal[MSFT] (vishala_at_online.microsoft.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 09:11:20 -0700

Anonymous Access to the CA does not work. So unless until you share a user
credential between the machines, you will always get access denied.

What do you want to query from CA database?

Thanks,
Vishal[MSFT]

-- 
This posting is provided "AS IS" with no warranties, and confers no rights
"Paul" <anonymous@discussions.microsoft.com> wrote in message
news:F5A6931C-5046-4BC7-8CCC-AFD46BF3FD70@microsoft.com...
> Vishal, thx a lot..
> I have registered the certadm.dll  now it works fine! thx again!
> But..
> My client belongs to a Domain.. and the CA belongs in a workgroup, I can't
share a user credential between the machines.
> My server is a Windows 2003, my client is a Windows 2000.
> In this configuration the client reports CCertView::OpenConnection Access
Denied 0x80070005 (WIN32: 5)
> I have already tried to configure the CA (it allows to Everyone to request
a cert).
> Can help me?
>
> Paul (and sorry for my bad english..)
>
>
>      ----- Vishal Agarwal[MSFT] wrote: -----
>
>      The GUID listed below is the CCertView ClassId, which is implemented
in
>      certadm.dll.
>
>      The admin pack should be installed to make this interface and class
>      available.
>
>      Copying certadm.dll from a server build to the %windir%\System32
directory
>      and registering it via regsvr32 might suffice, but installing the
admin pack
>      is the supported mechanism.
>
>      CertadmL.dll is only a type library for the interfaces in
certadm.dll.
>
>      CertadmL.dll can be used to develop and build a VB application that
calls
>      ICertView, but it is not sufficient to *run* the application.
>
>
>
>      Thanks,
>
>      Vishal[MSFT]
>
>
>      -- 
>      This posting is provided "AS IS" with no warranties, and confers no
rights
>      "Paul" <anonymous@discussions.microsoft.com> wrote in message
>      news:BA791023-E09B-4EB7-809B-8DA08771682B@microsoft.com...
>      > Hi,
>      >  I need to programmatically query a CA database (CA standalone on
Win2003)
>      using ICertView.
>      > My application is developed in c# and it running on win2k with .Net
1.1
>      with platform sdk (oct 2003)
>      >> My researches brought me to this link:
>      >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/icertview2_openconnection.asp
>      >> But the compiler report to me that the DLL
>      {A12D0F7A-1E84-11D1-9BD6-00C04FB683FA} is not registred.. WHY?
>      >> My code:
>      > (of sure with  a reference to:certadmL.dll, certcli.dll and so
on...)
>      >> using XENROLLLib; //'Xenroll.dll
>      > using CERTCLIENTLib; //'certcli.dll
>      > using CERTADMINLib;
>      > ..
>      > CERTADMINLib.CCertView CertView;
>      > CertView=  new CERTADMINLib.CCertView();//    <- error here!
>      >> Thx a lot..
>      > Paul
>
>
>


Relevant Pages

  • Re: Problem w/ Integrated Auth -- Receiving User/Pass dialog box against IIS6
    ... The client was not registering itself in DNS. ... > just using the NetBIOS name of the webserver, it prompts for creds ... > Their machines are not on the same subnet. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Global Address Book
    ... it still doesn't appear on client ... machines. ... Strange one eh? ...
    (microsoft.public.windows.server.sbs)
  • Re: OT Registry cleaners
    ... Paul J Gans wrote: ... sequences we knew were adequately searched on a PC with 64K RAM, ... single home built machines. ... And if I understand what Paul is doing, ...
    (talk.origins)
  • Re: A Challenge
    ... > My client is expecting me to perform miracles. ... > My client wants me to separate the last name into its own column so ... Try a search for splitting names, this returns a number of threads you ... Paul Sheppard ...
    (microsoft.public.excel.programming)
  • Re: OT Registry cleaners
    ... Paul J Gans wrote: ... >from 3 billions base pairs in RAM, plus the human genome in RAM. ... single home built machines. ... And if I understand what Paul is doing, ...
    (talk.origins)