Announcements
No record found.
Hi Experts,
I tried using File::SendFileToTempStore_GetResult code to upload file to the temporary storage. This works on my Dev VM but when we deploy it into UAT, it does not work. I am not able to debug in UAT but I was able to get the trace but I still dont have an idea what was the issue:
The import appears to stop at: File::SendFileToTempStore_GetResult. Any ideas what I should check in order to resolve this?
Thanks in advance!
Can you please tell us more about the problem than just "it does not work"?
Also, do you want out help with the problem with debugging ("I am not able to debug in UAT")?
I found a single place in the standard application where sendFileToTempStore_GetResult() is used - SysTraceController.uploadLastTrace(). Does it work for you there? This will answer an important question: whether the problem is caused by your code or something else. If the standard code doesn't work, you could also log a support request with Microsoft.
Thanks Martin, I will check and update this thread the result.
Still unsure why File::SendFileToTempStore_GetResult does not work on UAT.
Alternatively, I used which works in UAT:
fileUploadStrategy = new FileUploadTemporaryStorageStrategy();
fileUploadResult = fileUploadStrategy.uploadFile(localStream, fileNameExt);
Instead of (not working):
fileUploadResult = File::SendFileToTempStore_GetResult(localStream, filePathFileNameExt) as FileUploadTemporaryStorageResult;
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 521 Super User 2026 Season 1
Giorgio Bonacorsi 438
Adis 261 Super User 2026 Season 1