views:

11

answers:

0

Hi,

I have ADFS RC setup at Windows 2008 Server Standard Edition SP2 64 bit. As soon as I login to provisioning.aspx using domain user account CardRequestFailedException occurs.

  1. I checked the diagnostic logs, ADFS eventing logs and security logs of the machine but could not find anything relevant to this exception.
  2. I'm not using silent card provisioning method the users have to use the URL https:///adfs/card

What I found was when I give credentials of Domain Admin user it downloads the card but username in card is localmachine\administrator.

When I login to card website using another domain user it gives me CardRequestFailedException failed exception during card download i.e. in provision.aspx. I used Debug.WriteLine to get information of error. Please have a look at the stack trace:

CardRequestFailedException
Microsoft.IdentityServer.CardIssuance.CardRequestFailedException: MSIS7621: Failed to retrieve a information card for the user. ---> System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.    
    at Microsoft.IdentityServer.CardIssuance.CardProvisioningClient.GetCardsHelper(CardProvisioningProxy proxy, RequestInformationCards request)    
    at Microsoft.IdentityServer.CardIssuance.CardProvisioningClient.GetCards(RequestInformationCards request)    
    at Microsoft.IdentityServer.CardIssuance.CardProvisioningClient.GetCard(Uri cardType, X509Certificate2 clientCertReference)    
 --- End of inner exception stack trace ---    
    at Microsoft.IdentityServer.CardIssuance.CardProvisioningClient.GetCard(Uri cardType, X509Certificate2 clientCertReference)    
    at Provision.Page_Load(Object sender, EventArgs e) in c:\inetpub\adfs\card\Provision.aspx.cs:line 77 

Can anyone help me with this?

Regards, Piyush