Jump to content
Software FX Community

CryptographicException: Access is denied


Guest Mohammad Ashfaque

Recommended Posts

Guest Mohammad Ashfaque

Hi Team,

One of our winform application using ChartFX is showing exception for some of users. As per stack trace, it seems some problem related to SoftwareFX.ChartFX.Base. Following is the stack trace details:

 

************** Exception Text **************
System.Security.Cryptography.CryptographicException: Access is denied.

   at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
   at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)
   at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()
   at System.Runtime.InteropServices.SafeHandle.InternalDispose()
   at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
   at System.Runtime.InteropServices.SafeHandle.Dispose()
   at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing)
   at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose()
   at SoftwareFX.ChartFX.Base.1Y.Dispose()
   at SoftwareFX.ChartFX.Base.20.QO(String 2LB, Type 2LC, String 2LD, String 2LE, 1W& 2LF)
   at SoftwareFX.ChartFX.Base.20.QP(Type 2LG, String 2LH, String& 2LI, Boolean& 2LJ, 1W& 2LK)
   at SoftwareFX.ChartFX.Base.21.QT(Boolean 2LS)
   at SoftwareFX.ChartFX.Base.20.QL(LicenseContext 2L2, Type 2L3, Object 2L4, Boolean 2L5, LicenseProvider 2L6)
   at SoftwareFX.ChartFX.Base.RegistryLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)

   at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)

   at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)

   at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
   at SoftwareFX.ChartFX.Chart..ctor()
   at Anodyne_PI.ui.charts.AnodyneChart..ctor(IHasChartColorScheme colorScheme)
   at Anodyne_PI.ui.charts.AnodyneBarChart..ctor(IHasBarChartColorScheme colorScheme, Boolean allowRightClickFiltering)
   at Anodyne_PI.ui.charts.AnodyneTrendChart..ctor(Int32 mainIndex, Int32 movingAverageIndex, IHasTrendChartColorScheme colorScheme, Boolean allowRightClickFiltering)

   at Anodyne_PI.ui.charts.AnodyneBenchmarkTrendChart..ctor(Int32 mainIndex, Int32 movingAverageIndex, IHasTrendChartColorScheme colorScheme, Boolean allowRightClickFiltering)

   at Anodyne_PI.ui.charts.ProductionTrendChart..ctor()
   at Anodyne_PI.ui.tabs.ProductionTrendTab.InitializeContents()
   at Anodyne_PI.ui.forms.MainForm.AddCentralTabControl(Panel parentPanel)
   at Anodyne_PI.ui.forms.MainForm.InitializeComponent()
   at Anodyne_PI.ui.forms.MainForm..ctor()
   at Anodyne_PI.Program.StartupCompleted()
   at Anodyne_PI.ui.forms.SplashStartupForm.HandleWebServiceReturn()
   at Anodyne_PI.ui.forms.SplashStartupForm.biDataRequest_GetBIDBs_and_FeaturesCompleted(Object sender, GetBIDBs_and_Features_v4CompletedEventArgs e)

   at Anodyne_PI.PI_Web_Service.BIDataRequest.OnGetBIDBs_and_Features_v4OperationCompleted(Object arg)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...