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)