Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Request for the permission 'System.Security.Permissions.FileIOPermission, mscorlib, PublicKeyToken=b77a5c561934e089' failed.

$
0
0

hi

I have mapped azure storage on my VM and trying to run AxUpdateInstaller.exe devinstall and run into error that is copied below.

1. I am running this as admin

2. If i copy the folder to my local drive and run  it then it works fine.

3. intranet security is at lowest level and the drive is added to trusted intranet site.

4. just to be sure I ran unblock file function again, still no difference.

Anyone has suggestions?

regards

harry

Request for the permission of type 'System.Security.Permissions.FileIOPermission, 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.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, AccessControlActions control, String[] fullPathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlSecureResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.FinishInitUriString()
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
at Microsoft.Dynamics.AX.AXInstallationInfo.ServiceModelInstallationInfo.InitFromFile(String filePath)
at Microsoft.Dynamics.AX.AXInstallationInfo.AXInstallationInfo.GetInstalledServiceModel()
at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AXUpdateInstallerBase.getTopologyDataFromCurrentMachine()
at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AXUpdateInstallerBase.createQuickInstallRunbookGeneratorParameter(String updatePackageFilePath, String serviceModelFile)
at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AXUpdateInstallerBase.devInstall(String updatePackageFilePath, IRunbookGenerator runbookGenerator, IRunbookExecutor runbookExecutor, Boolean versionCheck, String serviceModelFile, Boolean parallel)
at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.InstallUpdate(String[] args)
at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.Main(String[] args)


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>