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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

D365 F&O on premise, System.IO.DirectoryNotFoundException.

(0) ShareShare
ReportReport
Posted on by 3,475

Hello, 

Installed platform version : Update38 (7.0.5778.51015)

I'm trying to export financial dimension value entity using DMF, but i keep getting the below error, 

"Infolog for job 'Export process: EXP_FINDIM' (5637650336)
Infolog for task Move to staging from target: Financial dimension values (EXP_FINDIM-2021-04-25T11:07:15-C86CD94A208540C0AFCECC8D37182A11) (5637650338) Could not find a part of the path '\\ZZZZZ.ZZZZZ.ZZZ\ZZZZ_aosstorage$\dmf\Financial {54E307F756424E7BA0F4E41455840958}.xlsx'."

System.IO.DirectoryNotFoundException: Could not find a part of the path '\\server\server_aosstorage$\dmf\Financial {E1C43C5B83FA4A1AA79FB7D50F4C08D3}.xlsx'.
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, Int32 bufferSize)
at Microsoft.Dynamics.Platform.Integration.Storage.FileStorageProvider.FileStorageProvider.CreateFileInternal(IFolderReference folderReference, String fileName, FileMetadata fileMetadata, Stream stream, Boolean overwriteFile)
at Microsoft.Dynamics.Platform.Integration.Storage.FileStorageProvider.FileStorageProvider.CreateFile(IFolderReference folderReference, String fileName, FileMetadata fileMetadata, Stream stream)
at Microsoft.DynamicsOnline.Infrastructure.Components.SharedServiceUnitStorage.SharedServiceUnitStorage.CreateData(SharedServiceUnitStorageData data, Boolean setDirectPathWhenAvailable)
at Dynamics.AX.Application.DmfDataPopulation.`getBlobWriteUrlInCategory(Guid _fileId, String _fileName, Boolean getDirectBlobLinkWhenAvailable, String category) in xppSource://Source/ApplicationFoundation\AxClass_DmfDataPopulation.xpp:line 159
at Dynamics.AX.Application.DmfDataPopulation.getBlobWriteUrlInCategory(Guid _fileId, String _fileName, Boolean getDirectBlobLinkWhenAvailable, String category)
at Dynamics.AX.Application.DmfDataPopulation.`getAzureBlobWriteUrl(Guid _fileId, String _fileName, String category, Boolean @category_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_DmfDataPopulation.xpp:line 111
at Dynamics.AX.Application.DmfDataPopulation.getAzureBlobWriteUrl(Guid _fileId, String _fileName, String category, Boolean @category_IsDefaultSet)
at Dynamics.AX.Application.DmfDataPopulation.getAzureBlobWriteUrl(Guid _fileId, String _fileName)
at Dynamics.AX.Application.DMFGenerateSSISPackage.`generateFileDataV2Inner(DMFDefinitionGroupExecution _dmfDefinitionGroupExecution, String _defGroupName, DMFFileFormat _fileFormat, DMFDelimiter _rowDelimiter, DMFDelimiter _columnDelimiter, String _codePage, String _locale, NoYes _isFirstRowHeader, NoYes _unicode, String _source, String _textQualifier, DMFXMLStyle _style, String _rootElement, String _filePath, Map _entitySyncVersion, Int32 _previewCount, Boolean _updateOnError) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 1198

what could be the reason ? please need your help.

I have the same question (0)
  • NaveenKumar S Profile Picture
    3,475 on at

    Hello, 

    where can I find the setup for system.ID.Directory ?

  • Suggested answer
    NaveenKumar S Profile Picture
    3,475 on at

    this folder is hard coded with the help of technical , this folder was suppose to be created automatically during installation. but now after creating manually its working for me now

  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    its says "System.IO.DirectoryNotFoundException: Could not find a part of the path" , Just double check your path under  Data Managemenet Workspace > Data Import/Export Framework Parameters > Shared Working Directory .

  • huijij Profile Picture
    19,811 on at

    Hi Naveen,

    Is it on-prem style? Make sure that the folder ( '\\server\server_aosstorage$\dmf\') is present in the local file system of the server that runs

    the AOS service,and check the  Data Managemenet parameters.

    Regards

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans