Hi all,
I started with a fresh, vanilla D365 VM based on platform update 7. I did install two packages to be able to connect to a VSO account from a customer and perform a simple change. I did install two packages and then connected successfully to this customers VSO account. I could get the customizations already done from the repository.
Now I need to reference a table from one of the solutions and needs to update model references in the model used for customizations. At that time I got an error stating a package reference could not be found. So a third package needs to be installed on this VM.
When executing the command axupdateinstaller.exe list I do get the error message below. Does anyone encountered this before and know how to solve this? I suspect it is working when I initially install all three packages first and then connect to the VSO account, but I would like to avoid start over again.
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.AXUpdateInstaller.Program.InstallUpdate(String[] args)
at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.Main(String[] args)
*This post is locked for comments