Foros del Web » Programación para mayores de 30 ;) » .NET »

No se pudo adquirir un proveedor de servicios criptográficos (CSP) CryptoAPI...

Estas en el tema de No se pudo adquirir un proveedor de servicios criptográficos (CSP) CryptoAPI... en el foro de .NET en Foros del Web. Hola que tal?? Tengo una página Asp .Net para autentificar sobre active directory. En mi máquina funciona perfectamente, pero si la coloco en el servidor, ...
  #1 (permalink)  
Antiguo 10/02/2005, 03:31
Avatar de angel_dope  
Fecha de Ingreso: noviembre-2002
Ubicación: Valencia
Mensajes: 737
Antigüedad: 22 años, 3 meses
Puntos: 8
No se pudo adquirir un proveedor de servicios criptográficos (CSP) CryptoAPI...

Hola que tal?? Tengo una página Asp .Net para autentificar sobre active directory. En mi máquina funciona perfectamente, pero si la coloco en el servidor, saca lo siguiente:


Cita:
Server Error in '/FormsAuthAd' Application.
--------------------------------------------------------------------------------

No se pudo adquirir un proveedor de servicios criptográficos (CSP) CryptoAPI para esta implementación.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Cryptography.CryptographicExceptio n: No se pudo adquirir un proveedor de servicios criptográficos (CSP) CryptoAPI para esta implementación.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[CryptographicException: No se pudo adquirir un proveedor de servicios criptográficos (CSP) CryptoAPI para esta implementación.]
System.Security.Cryptography.SHA1CryptoServiceProv ider..ctor(CspParameters parameters) +390
System.Security.Cryptography.SHA1CryptoServiceProv ider..ctor() +51

[TargetInvocationException: Se inició una excepción en el destino de la invocación.]
System.Reflection.RuntimeConstructorInfo.InternalI nvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault) +0
System.Reflection.RuntimeConstructorInfo.Invoke(Bi ndingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +497
System.Security.Cryptography.CryptoConfig.CreateFr omName(String name, Object[] args) +418
System.Security.Cryptography.SHA1.Create(String hashName) +7
System.Security.Cryptography.HMACSHA1..ctor(Byte[] rgbKey) +113
System.Web.Configuration.ExtendedHMACSHA1.GetHMACS HA1() +372
System.Web.Configuration.MachineKey.HMACSHA1HashFo rData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length) +12
System.Web.Configuration.MachineKey.HashData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length) +73
System.Web.Configuration.MachineKey.GetEncodedData (Byte[] buf, Byte[] modifier, Int32 start, Int32& length) +61
System.Web.UI.LosWriter.CompleteTransforms(TextWri ter output, Boolean enableMac, Byte[] macKey) +195
System.Web.UI.LosFormatter.SerializeInternal(TextW riter output, Object value) +122
System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String formUniqueID) +143
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter writer) +35
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output) +262
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1929




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:; ASP.NET Version:
Estuve buscando por ahi y encontré esto:

http://support.microsoft.com/default...d=kb;es;322371

Aunque no se si lo he aplicado bien... he creado un nuevo archivo de clase llamado SignedXML.cs para ver si se resolvia. Al compilar no me da ningun error y en mi máquina sigue funcionando igual, pero al pasarlo de nuevo al servidor sigue sacando exactamente el mismo error. Alguien sabe que puedo hacer para solucionarlo??

Muchas gracias a tod@s, salu2,
__________________
Vayamos por Partes :: Jack el Destripador
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:56.