Skip to main content

Notifications

Announcements

No record found.

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 292,494 Super User 2025 Season 1

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

  • 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
    Martin Dráb 231,307 Most Valuable Professional on at
    RE: Error installing deployable package on local DEV machine

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

  • 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
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 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
    Martin Dráb 231,307 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans