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

Cannot open attachments after rotating certificate -On premises

(0) ShareShare
ReportReport
Posted on by 115

Hi Experts,

Recently our production server certificates got expired and we had to rotate them which we successfully did. But after rotating the certificate we are unable to open the old attachments on our documents like PR and PO etc. New attachment that we are uploading now are working fine. I have a doubt that this is related to encryption certificate. We are facing the below error that file doesnt exist although it exists in our aos-storage folder:

An error has occurred.An error occurred reading from the storage provider.Microsoft.Dynamics.AX.Framework.FileManagement.DocumentStorageProviderException at Microsoft.Dynamics.AX.Framework.FileManagement.StorageFrameworkDocumentStorageProvider.GetFile(DocumentLocation location) at Microsoft.Dynamics.AX.Framework.Services.Platform.FileManagement.BaseFileOperations`1.ProxyFileToUser(DocumentLocation location, IDocumentStorageProvider storageProvider, Boolean isInline) at Microsoft.Dynamics.AX.Framework.Services.Platform.FileManagement.BaseFileOperations`1.PerformDownload(String fileId, Boolean forDisplay, Boolean thumbnail) at Microsoft.Dynamics.AX.Framework.Services.Platform.FileManagement.FileManagementOperations`1.Download(String fileId, Boolean forDisplay, Boolean thumbnail) at Microsoft.Dynamics.AX.Framework.Services.Platform.FileManagement.WebApi.FileManagementController.Download(String fileId, Boolean forDisplay, Boolean thumbnail) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()An error has occurred.File reference for 'file://serverName/aos-storage/documents/996D8521-2820-4DA1-BF33-91CFDD8C4D3E' could not be found.Microsoft.Dynamics.Platform.Integration.Storage.StorageProvider.StorageProviderItemNotFoundException at Microsoft.Dynamics.Platform.Integration.Storage.FileStorageProvider.FileStorageProvider.GetFileReferenceFromDirectAccessUri(Uri uri) at Microsoft.Dynamics.AX.Framework.FileManagement.StorageFrameworkDocumentStorageProvider.GetFile(DocumentLocation location)
I have the same question (0)
  • Suggested answer
    TracyXing Profile Picture
    on at

    Find a similar thread: community.dynamics.com/.../attachments-not-working-after-upgrade-from-8-1-to-10-0-13 about this error.

  • Usama Tur Razzam Profile Picture
    115 on at

    Hi Tracy,

    Attached link by you was another issue not related to certificates.

  • Suggested answer
    TracyXing Profile Picture
    on at

    Did you follow this docs.microsoft.com/.../certificate-rotation-on-prem to rotate the certificate?  If so, you may submit support ticket to ask assistance from Microsoft to check from your on-prem environment.

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... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans