Skip to main content
Solved

Why do I receive this error when patching 25 R2?

  • December 9, 2025
  • 4 replies
  • 56 views

darylbowman
Captain II
Forum|alt.badge.img+15

 Why do I receive this error when patching 25 R2?

[13:16:35 ERR] Could not find file 'Y:\Sites\*site*\Bin\Addon.csproj'.
System.IO.FileNotFoundException: Could not find file 'Y:\Sites\*site*\Bin\Addon.csproj'.
File name: 'Y:\Sites\*site*\Bin\Addon.csproj'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
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)
at Patch.Common.CryptographyWrapper.SHA256CheckSum(String filePathName) in C:\code\UpdateService\Patch.Common\CryptographyWrapper.cs:line 13
at PatchTool.Wrappers.AcumaticaPatch.FetchAndDownloadPatchedFiles(AcumaticaPatchOptions options, String outputDirectory) in C:\code\UpdateService\PatchTool\Wrappers\AcumaticaPatch.cs:line 543
at PatchTool.Wrappers.AcumaticaPatch.Process(AcumaticaPatchOptions options) in C:\code\UpdateService\PatchTool\Wrappers\AcumaticaPatch.cs:line 111

(where *site* is a placeholder, obviously)

Best answer by pallikasharma11

Hello ​@darylbowman 

 

Please make sure latest Patch Tool is installed from here: https://update.acumatica.com/rest/api/patch/tool.

 

This error may be related to a Windows security feature that blocks files downloaded from the internet. Specifically, the .exe and related .dll files are being sandboxed due to being flagged as coming from an untrusted source. I’d like to suggest a few quick steps as a workaround.

Please unblock the Patch Tool files:

1. Right-click on PatchTool.exe (and other .dll files if needed).
2. Select Properties.
3. If you see an “Unblock” checkbox at the bottom of the General tab, check it and click Apply(The "unblock" option will only appear if the file is actually blocked)

Alternatively, you can unblock all files in the folder using PowerShell:

"Get-ChildItem -Path "C:\PatchTool" -Recurse | Unblock-File" (Replace the path with your actual Patch Tool directory.)

4 replies

Forum|alt.badge.img+2
  • Acumatica Employee
  • Answer
  • December 9, 2025

Hello ​@darylbowman 

 

Please make sure latest Patch Tool is installed from here: https://update.acumatica.com/rest/api/patch/tool.

 

This error may be related to a Windows security feature that blocks files downloaded from the internet. Specifically, the .exe and related .dll files are being sandboxed due to being flagged as coming from an untrusted source. I’d like to suggest a few quick steps as a workaround.

Please unblock the Patch Tool files:

1. Right-click on PatchTool.exe (and other .dll files if needed).
2. Select Properties.
3. If you see an “Unblock” checkbox at the bottom of the General tab, check it and click Apply(The "unblock" option will only appear if the file is actually blocked)

Alternatively, you can unblock all files in the folder using PowerShell:

"Get-ChildItem -Path "C:\PatchTool" -Recurse | Unblock-File" (Replace the path with your actual Patch Tool directory.)


darylbowman
Captain II
Forum|alt.badge.img+15
  • Author
  • December 9, 2025

For others who may find this, use 7zip to extract the files, which automatically unblocks the files and prevents this issue.


Forum|alt.badge.img+2

 


Leonardo Justiniano
Jr Varsity II
Forum|alt.badge.img+4

Link is broken