PRB: Failed to create 'CertificateAuthority.Request' object

V

Vsevolod Ukrainsky

Hello,

I am using an FQDN for my CA Web-site (Enterprise CA). Thus
it is not http://myserver/CertSrv, but http://ca.mydomain.com/CertSrv

When I try to create a Cert request using a form, I receive this message as
a result of processing CERTFNSH.ASP page:

======
Your request failed. An error occurred while the server was processing your
request. Contact your administrator for further assistance.

Failed to create 'CertificateAuthority.Request' object.
======

Trying to contact my administrator for further assistance I found him in my
chair, so
I first carefully checked CERTFNSH.ASP code (inluding CERTDAT.INC) and found
it pure server-side. By this I mean it doesn't force any object creation and
activation on the client-side.

The failure obviously happens on this line of CERTFNSH.ASP:

Set
Session("ICertRequest")=Server.CreateObject("CertificateAuthority.Request")


I checked registry and found all ProgIDs registered.

So, where is this problem coming from??

Your help is greatly appreciated,
Vsevolod.
 
V

Vishal Agarwal[MSFT]

Hi,
Could you please check that in IIS, for CertSrv web site, "Enable Session
State" option is enabled or not? If it is not enabled, enable it and try
again (you might have to restart IIS).

Thanks,
Vishal[MSFT]
 
V

Vsevolod Ukrainsky

Vishal

Thanks alot... Silly me :) I still consider session state evil and always
clear that box....

Now it works fine, thanks
Vsevolod

btw, no IIS restart needed - running iisreset is enough.
 
V

Vsevolod Ukrainsky

Vishal

Thanks alot... Silly me :) I still consider session state evil and always
clear that box....

Now it works fine, thanks
Vsevolod

btw, no IIS restart needed - running iisreset is enough.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top