Re: ICertView in C# with Win2K
From: Vishal Agarwal[MSFT] (vishala_at_online.microsoft.com)
Date: 04/13/04
- Next message: Paul: "Re: ICertView in C# with Win2K"
- Previous message: Vishal Agarwal[MSFT]: "Re: LDAP (CRL)"
- In reply to: Paul: "Re: ICertView in C# with Win2K"
- Next in thread: Paul: "Re: ICertView in C# with Win2K"
- Reply: Paul: "Re: ICertView in C# with Win2K"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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 > > >
- Next message: Paul: "Re: ICertView in C# with Win2K"
- Previous message: Vishal Agarwal[MSFT]: "Re: LDAP (CRL)"
- In reply to: Paul: "Re: ICertView in C# with Win2K"
- Next in thread: Paul: "Re: ICertView in C# with Win2K"
- Reply: Paul: "Re: ICertView in C# with Win2K"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|