haitao:
论坛会报这个错:System.Security.Cryptography.CryptographicException: An internal error occurred.
[阅读: 1072] 2008-01-31 04:51:32
Server Error in '/' Application.
--------------------------------------------------------------------------------
An internal error occurred.
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.CryptographicException: An internal error occurred.
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: An internal error occurred.
]
System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) +34
System.Security.Cryptography.Utils._GetBytes(SafeProvHandle hProv, Byte[] randomBytes) +0
System.Security.Cryptography.RNGCryptoServiceProvider.GetBytes(Byte[] data) +15
System.Web.Security.FormsAuthentication.MakeTicketIntoBinaryBlob(FormsAuthenticationTicket ticket) +133
System.Web.Security.FormsAuthentication.Encrypt(FormsAuthenticationTicket ticket, Boolean hexEncodedTicket) +29
System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e) +618
System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +118
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +157
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433