web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error installing deployable package on local DEV machine

(1) ShareShare
ReportReport
Posted on by 297,316 Super User 2025 Season 2

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

I have the same question (0)
  • Wim Van hoorde Profile Picture
    on at
    RE: Error installing deployable package on local DEV machine

    Thanks Martin!

    Will give it a try next time.

    Wasn't aware of this one, normally I try to stick as close as possible to standard available stuff.

    Much appreciated!

  • Martin Dráb Profile Picture
    235,876 Most Valuable Professional on at
    RE: Error installing deployable package on local DEV machine

    I tend to use Powershell (Unblock-File) for such things.

  • Wim Van hoorde Profile Picture
    on at
    RE: Error installing deployable package on local DEV machine

    Thanks Martin & André.

    Furthermore I used SysInternals' streams64 to unblock all the files all at once -

    https://docs.microsoft.com/nl-nl/sysinternals/downloads/streams

    Wim.

  • André Arnaud de Calavon Profile Picture
    297,316 Super User 2025 Season 2 on at
    RE: Error installing deployable package on local DEV machine

    Hi Martin,

    Thanks! I did it the first time downloading the file, but copied it again back and forth. It appeared that the blocking was enabled again. So unblocking the zip-file was indeed solving my issue.

  • Verified answer
    Martin Dráb Profile Picture
    235,876 Most Valuable Professional on at
    RE: Error installing deployable package on local D365 DEV machine

    Isn't the file blocked?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans