More in this section

Forums / Deployment / Deployed Sitefinity 10.1.6501.0 to Azure but getting System.Security.Cryptography.CryptographicException

Deployed Sitefinity 10.1.6501.0 to Azure but getting System.Security.Cryptography.CryptographicException

1 posts, 0 answered
  1. MR
    MR avatar
    0 posts
    Registered:
    08 Dec 2011
    04 Aug
    Link to this post

    Here is the error. 

     

    Server Error in '/' Application.

    The system cannot find the file specified.
    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: The system cannot find the file specified.


    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: The system cannot find the file specified. ] System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) +36 System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) +0 System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags) +184 System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, String password) +109 Telerik.Sitefinity.Authentication.Owin.OpenId.OpenIdConnectAuthenticationFactory.LoadCertificate() +301 Telerik.Sitefinity.Authentication.Owin.OpenId.OpenIdConnectAuthenticationFactory.<UseIdentityServer>b__e(IAppBuilder idsrvApp) +711 Owin.MapExtensions.Map(IAppBuilder app, PathString pathMatch, Action`1 configuration) +177 Owin.MapExtensions.Map(IAppBuilder app, String pathMatch, Action`1 configuration) +108 Telerik.Sitefinity.Authentication.Owin.OpenId.OpenIdConnectAuthenticationFactory.UseIdentityServer(IAppBuilder app, String path) +64 Telerik.Sitefinity.Authentication.Owin.OpenId.OpenIdConnectAuthenticationFactory.BuildSTSPipeline(IAppBuilder app, OwinMiddleware next) +102 Telerik.Sitefinity.Authentication.Owin.<>c__DisplayClass4.<BuildStsPipeline>b__3() +28 System.Lazy`1.CreateValue() +180 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +26 System.Lazy`1.get_Value() +12888113 Telerik.Sitefinity.Authentication.Owin.<Invoke>d__0.MoveNext() +104 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58 Telerik.Sitefinity.Authentication.Owin.<Invoke>d__0.MoveNext() +251 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58 Telerik.Sitefinity.Authentication.Extensions.<Invoke>d__0.MoveNext() +223 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__5.MoveNext() +182 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<DoFinalWork>d__2.MoveNext() +180 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +69 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +65 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +380 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2053.0                

1 posts, 0 answered