Hi,
I am trying to Hide Activate button on a Custom Entity using Ribbon Workbench following the below article.
https://us.hitachi-solutions.com/blog/managing-activatedeactivate-permissions-of-crm-entities/
This worked perfectly fine for OOTB entity but, when I try to do configure the same on a different CustomEntity, I get the below error. I did try to re-install the RibbonWorkbench solution but no luck.
RBW:3.0.25,CRM:8.2.1.207
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.IO.IsolatedStorage.IsolatedStorage.DemandPermission(IsolatedStorageScope scope)
at System.IO.IsolatedStorage.IsolatedStorage._InitStore(IsolatedStorageScope scope, Evidence domainEv, Type domainEvidenceType, Evidence assemEv, Type assemblyEvidenceType, Evidence appEv, Type appEvidenceType)
at System.IO.IsolatedStorage.IsolatedStorage.InitStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
at System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
at MS.Internal.IO.Packaging.PackagingUtilities.GetDefaultIsolatedStorageFile()
at MS.Internal.IO.Packaging.PackagingUtilities.CreateUserScopedIsolatedStorageFileStreamWithRandomName(Int32 retryCount, String& fileName)
at MS.Internal.IO.Packaging.SparseMemoryStream.EnsureIsolatedStoreStream()
at MS.Internal.IO.Packaging.SparseMemoryStream.SwitchModeIfNecessary()
at MS.Internal.IO.Packaging.CompressEmulationStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at MS.Internal.IO.Packaging.CompressStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(String value)
at Develop1.Xrm.Silverlight.Ribbon.PublishSolutionController.Zip(Byte[] buffer)
at Develop1.Xrm.Silverlight.Ribbon.PublishSolutionController.AmmendAndPublish(Byte[] downloadedSolution, XDocument customisationsXml)
at Develop1.Xrm.Silverlight.Ribbon.DownloadSolutionController.OnDownloadComplete()
at Develop1.Xrm.Silverlight.Ribbon.DownloadSolutionController.OnExportedSolutionComplete(IAsyncResult asyncResult)
at SyncOrganizationService.BeginExecute(OrganizationRequest request, AsyncCallback callback, Object asyncState)
at RWB2016.Plugins.RibbonCustomisationsPlugin.PublishSolution(LocalPluginContext localContext, ITracingService trace, String data)
at SparkleXrm.Plugins.Plugin.Exe
Any thoughts what could be going wrong.
Thanks In Advance
Rekha
*This post is locked for comments