CCertRequest::Submit Error

A

AlexDrenea

Hello,
I am trying to send a Certificate request with ICertRequest class. When I
try to send it from my ASP.NET application I always receive :
"CCertRequest::Submit The parameter is incorrect. 0x80070057 (WIN32: 87)". I
copied the function I use to do this in a desktop application and it works
fine ( The parameters I send in the Submit method are IDENTICAL). The request
is send and certificate issued. The default Web Enrollment pages that come
with CA Services are working fine and I do not see any difference when
comparing to my web application.
Can anyone give me a piece of advice on how to solve this?
Other details :
The web application is deployed in an IIS server running on the same
computer where CA Services are installed. It allows anonymus login with an
user that has the rights to request certificates on the server. The deskop
application is ran on the same machine with the same user. Server is W2003
Enterpirse in an AD environment.

Thank you in advance.
Alex Drenea.
 
Back
Top Bottom