Cita:
Estuve buscando por ahi y encontré esto: 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:
--------------------------------------------------------------------------------
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:
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,
