Hi Team,
I am trying to deploy a package that is generated via the build pipelines. The env that I am deploying is a cloud hosted env and when trying to deploy the package via LCS>Maintain, it is failing at Step 12 (during the db sync) giving below errors.
Microsoft.Dynamics.AX.Metadata.Storage.MetadataReadRootDirectoryAccessException: Could not access to metadata directory 'C:\AOSService\PackagesLocalDirectory'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\AOSService\PackagesLocalDirectory'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.DirectoryInfo.EnumerateDirectories()
I dont know what it is trying to look for the AOS directory under C: drive. Is this known to anyone? Please help.
Running both build and test env on 10.0.25.