Categories
Business Central Docker Dynamics NAV Microsoft Windows Server 2016

hcsshim::ImportLayer – failed failed in Win32: The system cannot find the path specified. (0x3)

While creating a new Docker Container the script stopped with the following error message:

re-exec error: exit status 1: output: hcsshim::ImportLayer – failed failed in Win32: The system cannot find the path specified. (0x3)

Solution:

  1. Open PowerShell ISE as Administrator
  2. Execute the following command to clear the images:
    docker images prune
  3. Execute the following command to clean everything (Images, Containers, Cache and Networks):
    docker system prune

Did my solution solve your problem? Leave a reply.

Categories
Business Central Dynamics NAV Microsoft PowerShell

Import-NAVData : The specified file does not exist at the specified location

I was trying to import NAV data using PowerShell but received the following error message:

Import-NAVData : The specified file does not exist at the specified location

Solution:

If the file path is in a user-specific folder (e.g. in the Desktop), move it under C drive.

Syntax used:

Import-NAVData -ServerInstance BC -CompanyName "My Company" -IncludeGlobalData -FilePath "C:\Company.navdata"

Did my solution solve your problem? Leave a reply.